ezsummary_quantitative() summarizes quantitative data.
ezsummary_quantitative(tbl, total = FALSE, n = FALSE, missing = FALSE, mean = TRUE, sd = TRUE, sem = FALSE, median = FALSE, quantile = FALSE, extra = NULL, digits = 3, rounding_type = c("round", "signif", "ceiling", "floor"), round.N = 3, flavor = c("long", "wide"), fill = 0, unit_markup = NULL)
ezsummary_q(tbl, total = FALSE, n = FALSE, missing = FALSE, mean = TRUE, sd = TRUE, sem = FALSE, median = FALSE, quantile = FALSE, extra = NULL, digits = 3, rounding_type = c("round", "signif", "ceiling", "floor"), round.N = 3, flavor = c("long", "wide"), fill = 0, unit_markup = NULL)dplyr tbl.FALSE.FALSE.NA). Default is FALSE.TRUE.TRUE.FALSE.FALSE.FALSE.round.N. Default setting is to read from getOption().round, signif, ceiling and
floor. When ceiling or floor is selected, digits
won't have any effect.rounding_type if
used in this version.htmlTable). In the "wide" mode, the analyzed variable
will be the only "ID" variable and all the stats values will be presented
ogranized by the grouping variables (if any). If there is no grouping, the
outputs of "wide" and "long" will be the same.spread for
details. Default value is 0p_type if used in this
version.library(dplyr)
mtcars %>%
group_by(am) %>%
select(mpg, wt, qsec) %>%
ezsummary_quantitative()
Run the code above in your browser using DataLab