assuming your data takes the form of
locationlatitudelongitude
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
Kea
Try this:
DF[sample(seq(nrow(DF)), 1000),]
Where DF is your data
On Tue, Nov 16, 2010 at 3:13 PM, Mariana wrote:
>
> 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 longitud
On Nov 16, 2010, at 12:13 PM, Mariana wrote:
Hi there:
I am a total beginner in R,
Time to read the Posting Guide. (Especially since Nabble appears to
deficient in providing an introductory document, at least judging from
the email behavior of some of its users.)
and I have a simple q
3 matches
Mail list logo