Description Usage Arguments Value Author(s)
View source: R/as_matrix_data.R
Coerce to a matrix_data
1 2 3 4 5 6 7 8 9 10 11 12 13 | as_matrix_data(x, ...)
## S3 method for class 'matrix'
as_matrix_data(x, name = NULL, ...)
## S3 method for class 'data.frame'
as_matrix_data(x, name = NULL, include = "numeric", ...)
## S3 method for class 'correlate'
as_matrix_data(x, ...)
## Default S3 method:
as_matrix_data(x, ...)
|
x |
any |
... |
ignore. |
name |
variable name. |
include |
one of "numeric" (default), "character" or "factor". |
a matrix_data object.
Hou Yun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.