as.tabular | R Documentation |
These functions construct or copy labels onto an existing matrix or dataframe.
as.tabular(x, like = NULL) ## Default S3 method: as.tabular(x, like = NULL) ## S3 method for class 'data.frame' as.tabular(x, like = NULL)
x |
The object to convert. |
like |
If not |
A tabular
object.
as.matrix.tabular
model <- tabular( (Species + 1) ~ (n=1) + Sepal.Length + Sepal.Width, data=iris ) model as.tabular(matrix(1:12, 4,3), like=model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.