lmi 3641 3/23/2001 1 1
#14 Pseudacris kalmi 3641 4/27/2001 0 0
A.K.
From: Matthew Venesky
To: arun
Sent: Monday, April 29, 2013 3:54 PM
Subject: Re: [R] expanding a presence only dataset into presence/absence
Arun,
d(unique(dat1$Species),unique(dat1$Site),unique(dat1$Date))
>>> colnames(dat2)<- colnames(dat1)
>>>res<-merge(dat1,dat2,by=c("Species","Site","Date"),all=TRUE)
>>>res[is.na(res)]<- 0
>>> res<-res[order(res$Date),]
>>&g
: Matthew Venesky
To: r-help@r-project.org
Cc:
Sent: Monday, April 29, 2013 11:12 AM
Subject: [R] expanding a presence only dataset into presence/absence
Hello,
I'm working with a very large dataset (250,000+ lines in its' current form)
that includes presence only data on various speci
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Matthew Venesky
> Sent: Monday, April 29, 2013 8:13 AM
> To: r-help@r-project.org
> Subject: [R] expanding a presence only dataset into presence/absence
&g
Hello,
I'm working with a very large dataset (250,000+ lines in its' current form)
that includes presence only data on various species (which is nested within
different sites and sampling dates). I need to convert this into a dataset
with presence/absence for each species. For example, I would lik
5 matches
Mail list logo