[R] row names, coulmn names
dwinsemius at comcast.net
Sun May 1 21:55:31 CEST 2016
> On May 1, 2016, at 11:09 AM, Jan Kacaba <jan.kacaba at gmail.com> wrote:
> Hello dear R helpers,
> Is it possible to have more than 1 row for column names in data.frame,
> array, tbl_df? I would like to have column numbers in the first row, string
> names in the second row, physical unit in third row.
It's possible to embed "\n" in names but whether that will deliver desired results with plotting and printing functions may be another matter. You would always need to quote names, even when using "$".
> How would I do it?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Alameda, CA, USA
More information about the R-help