View source: R/fortify-data-frame-.R
fortify_data_frame.character | R Documentation |
This function converts various objects to a data frame.
## S3 method for class 'character'
fortify_data_frame(data, ..., data_arg = NULL, call = NULL)
## S3 method for class 'numeric'
fortify_data_frame(data, ..., data_arg = NULL, call = NULL)
## S3 method for class 'logical'
fortify_data_frame(data, ..., data_arg = NULL, call = NULL)
## S3 method for class 'complex'
fortify_data_frame(data, ..., data_arg = NULL, call = NULL)
data |
An object to be converted to a data frame. |
... |
These dots are for future extensions and must be empty. |
data_arg |
The argument name for |
call |
The execution environment where |
A data frame with following columns:
.names
: the names for the vector (only applicable if names exist).
value
: the actual value of the vector.
Other fortify_data_frame()
methods:
fortify_data_frame.default()
,
fortify_data_frame.dendrogram()
,
fortify_data_frame.matrix()
,
fortify_data_frame.phylo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.