Skip to content
Prev 241805 / 398500 Next

Anyone can help with this question

assuming your data takes the form of

location        latitude        longitude
string  num     num
string2 num     num

try:

sub <- dat[sample.int(length(dat$location), 1000),]
--------------------------------------
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV, 25430
(304) 724-4480
"Is the room still a room when its empty? Does the room,
 the thing itself have purpose? Or do we, what's the word... imbue it."
     - Jubal Early, Firefly

r-help-bounces at r-project.org wrote on 11/16/2010 12:13:57 PM:
How
let
http://www.R-project.org/posting-guide.html