[R] about colnames

2012-01-30 Thread xiaocong zuo
Hi, when I run the below code,there is an error occured. could you please tell me how to treat it? pdf('covariate.pdf') par(mfrow=c(1,1)) pairs(data2[,c(ID,TYPE,AGE,GNDR,HT)], + panel=function(x,y) { points(x,y); lines(lowess(x,y))}) Error in `[.data.frame`(data2, , c(ID, TYPE, AGE,

Re: [R] about colnames

2012-01-30 Thread Jeff Newmiller
The problem occurred when you imported your data, but you haven't shown those steps. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.