Description Usage Arguments Value Examples
View source: R/detectCharacterType.R
This function creates column names (colnames
), row.names (row.names
),
or both in an unnamed data.frame
or matrix
.
1 | forceNames(dat, nameType = "row")
|
dat |
A vector of data |
nameType, |
either:
|
An object of type 'data.frame with labeled columns, rows, or both.
1 2 | data(anolis)
forceNames(anolis$dat, "row")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.