data2elrm<-cbind(mydata,n=rep(1,dim(mydata)[1])) > More logic would be:
data2elrm2<-cbind(mydata,n=rep(1,nrow(mydata))) Sorry for obfuscation. -- Mi³ego dnia [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.