On 23/09/2009, at 11:26 PM, Christian Schulz wrote:
Hi, nvars <- 902 data <- as.data.frame(matrix(runif(100*nvars),ncol=nvars)) colnames(data)[901] <- c('phenotype') colnames(data)[902] <- c('outcome')
<snip> Just ***WHAT*** do you think the ``c( )'' is doing for you in the construction ``c('phenotype')'' etc. ??? Such complete misunderstanding of what the c() does or is useful for exasperates me, and is unfortunately very wide spread. If people are going to use R, why don't they learn the basic syntax? cheers, Rolf Turner ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}} ______________________________________________ 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.