Displaying 1 result from an estimated 1 matches for "newdataday".
2011 Aug 29
1
how to referee a dimension name via a variable?
hi, R-users
I have a data.frame for example test$newdataday24 and test$newdataday48
I can plot them by
plot(test$newdataday24)
but now i want to plot different data by define a variable to describe them
dayno<-c(24,48)
newnam<-paste("test$newdataday",dayno,sep="")
plot(newnam[1])
but i failed,the error message said that something...