Displaying 1 result from an estimated 1 matches for "logco".
Did you mean:
loco
2002 Apr 18
3
Variable definition problem
Hello, what does this error message indicate and how do I avoid this?
(sample code below)
Thank you.
-Tosh
#read in the data table
co<-read.table("co.txt",header=T,as.is=T)
for (i in 1:3){
paste("logco",i, sep="")<-log(co$co[co$day==i])
}
Gives the error:
Error: Target of assignment expands to non-language object
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "...