I have defined x=rnorm(500, mean=0, sd=sqrt(2)) and now I want to define a variable y that picks 100 random numbers out of this x. How do I do this? I was struggling with the argument of runif.
y <- sample(x,100)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.