tidy.numeric | R Documentation |
Vector tidiers are deprecated and will be removed from an upcoming release of broom.
## S3 method for class 'numeric'
tidy(x, ...)
## S3 method for class 'character'
tidy(x, ...)
## S3 method for class 'logical'
tidy(x, ...)
x |
An object of class "numeric", "integer", "character", or "logical". Most likely a named vector |
... |
Extra arguments (not used) |
Turn atomic vectors into data frames, where the names of the vector (if they exist) are a column and the values of the vector are a column.
Other deprecated:
bootstrap()
,
confint_tidy()
,
data.frame_tidiers
,
finish_glance()
,
fix_data_frame()
,
summary_tidiers
,
tidy.density()
,
tidy.dist()
,
tidy.ftable()
Other deprecated:
bootstrap()
,
confint_tidy()
,
data.frame_tidiers
,
finish_glance()
,
fix_data_frame()
,
summary_tidiers
,
tidy.density()
,
tidy.dist()
,
tidy.ftable()
Other deprecated:
bootstrap()
,
confint_tidy()
,
data.frame_tidiers
,
finish_glance()
,
fix_data_frame()
,
summary_tidiers
,
tidy.density()
,
tidy.dist()
,
tidy.ftable()
## Not run:
x <- 1:5
names(x) <- letters[1:5]
tidy(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.