row_names | R Documentation |
Helper function for matrix_data object
row_names(md)
row_names(md) <- value
col_names(md)
col_names(md) <- value
nrows(md)
ncols(md)
is_matrix_data(md)
is_grouped_matrix_data(md)
is_md_tbl(md)
extract_upper(md, diag = TRUE)
extract_lower(md, diag = TRUE)
extract_diag(md)
trim_diag(md)
filter_func(..., type = "full", diag = FALSE)
trim_duplicate(md, diag = TRUE)
simplify(md, keep = TRUE)
md |
a matrix_data object. |
value |
a valid value for dimension names. |
diag |
logical, if TRUE (default) will keep the diagonal of matrix data. |
... |
other parameters. |
type |
character, "full" (default), "upper", "lower" or "diag". |
keep |
logical, the output matrix remains symmetric if the input matrix is symmetric. |
Hou Yun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.