Description Usage Arguments Value Examples
View source: R/methods-coerce.R
S3 version of coerce method fro convenience.
1 2 | ## S3 method for class 'LongTable'
as.data.frame(x, row.names, optional = TRUE, ...)
|
x |
['LongTable'] to coerce to 'data.frame'. |
row.names |
An optional ['character'] vector of rownames. We do not recommend using this parameter, it is included for S3 method consistency with 'as.data.frame'. |
optional |
['logical'] Is it optional for row and column names to be valid R names? If FALSE will use the make.names function to ensure the row and column names are valid R names. Defaults to TRUE. |
... |
Does nothing. |
['data.frame'] containing the data from the LongTable, with the ‘LongTable.config’ attribute containg the metadata needed to reverse the coercion operation.
1 | as(merckLongTable, 'data.frame')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.