[R] Sampling problems

Oritteropus lucasantini85 at hotmail.com
Thu Mar 8 10:02:12 CET 2012


Hi sarah, it is not clear to me how to do that, can you show me please?

Imagine I have a situation like this:

MeanA <- read.csv("MeanAmf.csv",header=T)
mysample <- MeanA[sample(1:nrow(MeanA), 20, replace=FALSE),]

Then?


--
View this message in context: http://r.789695.n4.nabble.com/Sampling-problems-tp4453752p4455921.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list