Tidiers for summaryDefault objects have been deprecated as of
broom 0.7.0 in favor of skimr::skim().
Arguments
- x
A
summaryDefaultobject, created by callingsummary()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 passconf.lvel = 0.9, all computation will proceed usingconf.level = 0.95. Two exceptions here are:
Value
A one-row tibble::tibble with columns:
- minimum
Minimum value in original vector.
- q1
First quartile of original vector.
- median
Median of original vector.
- mean
Mean of original vector.
- q3
Third quartile of original vector.
- maximum
Maximum value in original vector.
- na
Number of
NAvalues in original vector. Column present only when original vector had at least oneNAentry.
See also
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()
Examples
v <- rnorm(1000)
s <- summary(v)
s
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> -2.809775 -0.641421 0.002774 0.009750 0.661719 3.241040
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.641 0.00277 0.00975 0.662 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.641 0.00277 0.00975 0.662 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.641 0.00277 0.00975 0.662 3.24 1
