fortify_data_frame.character {ggalign} | R Documentation |
Build a data frame
Description
This function converts various objects to a data frame.
Usage
## 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)
Arguments
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 |
Value
A data frame with following columns:
-
.names
: the names for the vector (only applicable if names exist). -
value
: the actual value of the vector.
See Also
Other fortify_data_frame()
methods:
fortify_data_frame.default()
,
fortify_data_frame.dendrogram()
,
fortify_data_frame.matrix()
,
fortify_data_frame.phylo()
[Package ggalign version 1.0.2 Index]