22 May 2013 15:53
basic question
Kátia Emidio <kat.emidio <at> gmail.com>
2013-05-22 13:53:44 GMT
2013-05-22 13:53:44 GMT
does anyone could help me with do a sample from dataframe, using replacement equal True? I am a very beginner at R. without replacement, my script works... h<-dados[sample(1:357,20),]# this is ok. from 357 rows, I take 20 ones, with all columms... How puts the replace=T ? thanks katia -- -- Kátia Emídio da Silva DSc Eng. Florestal Manaus/AM Forestry Engineer Manaus/AM-Brazil [[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo <at> r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
RSS Feed