has_names | R Documentation |
Check, whether a matrix has row- and colnames.
has_names(m)
m |
A matrix |
Logical indicating existence of row- and colnames.
has_names(matrix(c(1,2,3,4), nrow=2)) m <- matrix(c(1,2,3,4), nrow=2) rownames(m) <- c("r1", "r2") rownames(m) <- c("c1", "c2") has_names(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.