View source: R/detectCharacterType.R
| hasNames | R Documentation |
This function checks whether a given data.frame or matrix has
column names (colnames), row.names (row.names), or both.
hasNames(dat, nameType = "row")
dat |
A vector of data |
nameType |
either:
|
TRUE or FALSE indicating if the object has names (columns,
rows, or
both)
data(anolis)
hasNames(anolis$dat, "row")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.