Tidiers for summaryDefault objects have been deprecated as of
broom 0.7.0 in favor of skimr::skim()
.
A summaryDefault
object, created by calling summary()
on a
vector.
Additional arguments. Not used. Needed to match generic
signature only. Cautionary note: Misspelled arguments will be
absorbed in ...
, where they will be ignored. If the misspelled
argument has a default value, the default value will be used.
For example, if you pass conf.lvel = 0.9
, all computation will
proceed using conf.level = 0.95
. Additionally, if you pass
newdata = my_tibble
to an augment()
method that does not
accept a newdata
argument, it will use the default value for
the data
argument.
A one-row tibble::tibble with columns:
Minimum value in original vector.
First quartile of original vector.
Median of original vector.
Mean of original vector.
Third quartile of original vector.
Maximum value in original vector.
Number of NA
values in original vector. Column present only
when original vector had at least one NA
entry.
Other deprecated:
bootstrap()
,
confint_tidy()
,
data.frame_tidiers
,
finish_glance()
,
fix_data_frame()
,
tidy.density()
,
tidy.dist()
,
tidy.ftable()
,
tidy.numeric()
Other deprecated:
bootstrap()
,
confint_tidy()
,
data.frame_tidiers
,
finish_glance()
,
fix_data_frame()
,
tidy.density()
,
tidy.dist()
,
tidy.ftable()
,
tidy.numeric()
v <- rnorm(1000)
s <- summary(v)
s
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> -2.80978 -0.62832 0.00921 0.01613 0.66460 3.24104
tidy(s)
#> Warning: `tidy.summaryDefault()` is deprecated. Please use `skimr::skim()` instead.
#> # A tibble: 1 × 6
#> minimum q1 median mean q3 maximum
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 -2.81 -0.628 0.00921 0.0161 0.665 3.24
glance(s)
#> Warning: `tidy.summaryDefault()` is deprecated. Please use `skimr::skim()` instead.
#> # A tibble: 1 × 6
#> minimum q1 median mean q3 maximum
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 -2.81 -0.628 0.00921 0.0161 0.665 3.24
v2 <- c(v,NA)
tidy(summary(v2))
#> Warning: `tidy.summaryDefault()` is deprecated. Please use `skimr::skim()` instead.
#> # A tibble: 1 × 7
#> minimum q1 median mean q3 maximum na
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 -2.81 -0.628 0.00921 0.0161 0.665 3.24 1