search for: 1513524d

Displaying 1 result from an estimated 1 matches for "1513524d".

Did you mean: 151.524
2012 Feb 12
5
Sample function in R
Hi, Can anyone help me with the sample () in R? If I sample from x, I should get one integer. Can anyone tell me what's wrong here? > x =1:12 > sample(x) [1] 6.5 And, I cannot get the sample with size = 2 > sample(x, size = 2) Error in sample(x, size = 2) : unused argument(s) (size = 2) > sample(x, 2) [1] 54.16667 Thank you in advance [[alternative HTML version deleted]]