View source: R/as-matrix-data.R
as_matrix_data | R Documentation |
Coerce to a matrix_data
as_matrix_data(x, ...)
## S3 method for class 'matrix'
as_matrix_data(x, name = NULL, group = NULL, ...)
## S3 method for class 'data.frame'
as_matrix_data(x, name = NULL, include = "numeric", group = NULL, ...)
## S3 method for class 'correlate'
as_matrix_data(x, extra_mat = list(), ...)
## S3 method for class 'grouped_correlate'
as_matrix_data(x, extra_mat = list(), ...)
## S3 method for class 'rcorr'
as_matrix_data(x, extra_mat = list(), ...)
## S3 method for class 'corr.test'
as_matrix_data(x, extra_mat = list(), ...)
## Default S3 method:
as_matrix_data(x, ...)
x |
any |
... |
ignore. |
name |
variable name. |
group |
a character vector used to split the matrix data. |
include |
one of "numeric" (default), "character" or "factor". |
extra_mat |
a list of matrix. |
a matrix_data object.
Hou Yun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.