[R] Variable definition problem
Bob Murison
rmurison at turing.une.edu.au
Fri Apr 19 03:41:14 CEST 2002
Give assign a rev.
"T. Hotchi" wrote:
>
> 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])
assign(paste("logco",i,sep=""),log(co$co[co$day==1]))
> }
Bob Murison
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list