as.tabular: Convert matrix or dataframe to tabular object.
Description
These functions construct or copy labels onto an existing
matrix or dataframe.
Usage
as.tabular(x, like = NULL)
## S3 method for class 'default':
as.tabular(x, like = NULL)
## S3 method for class 'data.frame':
as.tabular(x, like = NULL)
Arguments
x
The object to convert.
like
If not NULL, should be a tabular object with the
same number of rows and columns as x. Its labels
will be used on the result.