[R] Anyone can help with this question

Mariana mvale.eco at gmail.com
Tue Nov 16 18:13:57 CET 2010

Hi there:
I am a total beginner in R, and I have a simple question:
I have a table with thousands of lines that represent locations, and two
columns: latitude and longitude. I need to randomly sample 1000 lines. How
do I do it? I know the command "sample", but it samples elements
independently, not lines. 
If there is a better place for me to ask that type of question, please let
me know.
Thanks a lot,
Mariana (from Brazil)

View this message in context: http://r.789695.n4.nabble.com/Anyone-can-help-with-this-question-tp3045265p3045265.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list