[R] How to clear colnames?

Benilton Carvalho bcarvalh at jhsph.edu
Tue Oct 27 23:20:58 CET 2009


colnames(x) <- NULL

On Oct 27, 2009, at 8:09 PM, Peng Yu wrote:

> I only see how to assign values to colnames() in help. Is there a way
> to remove colnames?
>
> colnames(x) <- value
>
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list