search for: natveg

Displaying 2 results from an estimated 2 matches for "natveg".

2010 Feb 08
2
object 'xxx' not found
The following line of code seems fairly straight forward, yet it is kicking back an error message: for (i in 1:length(mean.natveg.frac)){month.observed[i]=as.numeric(names(mean.natveg.frac[i]))%%12} Error message: Error in month.observed[i] = as numeric(names(mean.natveg.frac[i]))%%12 : object 'month.observed' not found Seems like its not found because I'm trying to define it. Also length(mean.natveg.frac) = 1...
2010 Feb 10
0
boxplot label cleanup
...") attach(my.dat) dates<-strptime(as.character(my.dat$date),"%m/%e/%Y") my.dat=my.dat[,2:5] my.dat=data.frame(date=dates,my.dat) detach(my.dat) daterange=c(as.POSIXlt(min(my.dat$date)),as.POSIXlt(max(my.dat$date))) rm(dates) attach(my.dat) cropped=subset(my.dat,Classification==5) natveg=subset(my.dat,Classification==7) > cropped[c(1,2,3),] #Example data date Cell_ID Classification WT_Depth Frac_ET_Satsfd 94 1999-04-08 4395 5 1.572998 0.7596927 95 1999-04-08 4396 5 1.923096 0.7588058 101 1999-04-08 4403 5 2....