For models that have only a single component, the tidy()
and
glance()
methods are identical. Please see the documentation for both
of those methods.
# S3 method for summaryDefault tidy(x, ...) # S3 method for summaryDefault glance(x, ...)
x | A |
---|---|
... | Additional arguments. Not used. Needed to match generic
signature only. Cautionary note: Misspelled arguments will be
absorbed in |
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.
#> Min. 1st Qu. Median Mean 3rd Qu. Max. #> -2.938978 -0.686197 0.008579 0.004340 0.666959 2.755418tidy(s)#> # A tibble: 1 x 6 #> minimum q1 median mean q3 maximum #> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 -2.94 -0.686 0.00858 0.00434 0.667 2.76glance(s)#> # A tibble: 1 x 6 #> minimum q1 median mean q3 maximum #> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 -2.94 -0.686 0.00858 0.00434 0.667 2.76#> # A tibble: 1 x 7 #> minimum q1 median mean q3 maximum na #> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 -2.94 -0.686 0.00858 0.00434 0.667 2.76 1