[R] as.data.frame doesn't set col.names

Ed Siefker ebs15242 at gmail.com
Tue Oct 24 19:58:02 CEST 2017


Why doesn't this work?

> samples$geno <- as.data.frame(sapply(yo, toupper), col.names="geno")
> samples
                          quant_samples   age sapply(yo, toupper)
E11.5 F20het BA40     E11.5 F20het BA40 E11.5              F20HET
E11.5 F20het BA45     E11.5 F20het BA45 E11.5              F20HET



More information about the R-help mailing list