Yes.
sample(V)
From ?sample:
For ‘sample’ the default for ‘size’ is the number of items
inferred from the first argument, so that ‘sample(x)’ generates a
random permutation of the elements of ‘x’ (or ‘1:x’).
Yes.
sample(V)
From ?sample:
For ‘sample’ the default for ‘size’ is the number of items
inferred from the first argument, so that ‘sample(x)’ generates a
random permutation of the elements of ‘x’ (or ‘1:x’).