[R] choose randomly
m@|||P@dpo@t @end|ng |rom gm@||@com
Thu Dec 19 00:27:22 CET 2019
Bert, I am very grateful for your clear explanation!!!
If n = N, then this is unnecessarily complicated.
is all you need (see ?sample).
If n < N, then the "trick" is not done.
is what is wanted.
Thank you, Jim, you always come to the rescue!
should do the trick. You will just get a pseudo-randomly shuffled set
of the same values.
Medic <mailiPadpost using gmail.com> wrote:
> > Variable temperature:
> > mydata$temperature
> > has N values.
> > With what code to сhoice (without return) n values from them RANDOMLY?
More information about the R-help