fortify.matrix | R Documentation |
base::matrix
to data.frame
Different from as.data.frame
## S3 method for class 'matrix'
fortify(model, data = NULL, compat = FALSE, ...)
model |
|
data |
original dataset, if needed |
compat |
Logical frag to specify the behaviour when converting matrix which has no column name.
If |
... |
other arguments passed to methods |
data.frame
fortify(matrix(1:6, nrow=2, ncol=3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.