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