hasNames {treedata.table} | R Documentation |
Row and column name check
Description
This function checks whether a given data.frame
or matrix
has
column names (colnames
), row.names (row.names
), or both.
Usage
hasNames(dat, nameType = "row")
Arguments
dat |
A vector of data |
nameType |
either:
|
Value
TRUE
or FALSE
indicating if the object has names (columns
,
rows
, or
both
)
Examples
data(anolis)
hasNames(anolis$dat, "row")
[Package treedata.table version 0.1.0 Index]