maybe_matrix | R Documentation |
These are substitutes for as.matrix()
and as.data.frame()
that leave
a sparse matrix as-is.
maybe_matrix(x)
maybe_data_frame(x)
x |
A data frame, matrix, or sparse matrix. |
A data frame, matrix, or sparse matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.