[R] object 'xxx' not found

emorway emorway at engr.colostate.edu
Tue Feb 9 00:38:21 CET 2010


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) = 103


Eric
-- 
View this message in context: http://n4.nabble.com/object-xxx-not-found-tp1473729p1473729.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list