summarise_numeric: Summarises continous data.

Description Usage Arguments Details Value

View source: R/summary_functions.R

Description

For grouped tibbles, summary statistics are done for each group seperately. By default, analyses all numeric variables. You can select specific variables using all syntax avaiable when using dplyr::select.

Usage

1
summarise_numeric(x, ..., digits = NA)

Arguments

x

A tibble.

...

Comma separated list of unquoted expressions. You can treat variable names like they are positions. Use positive values to select variables; use negative values to drop variables. (This uses dplyr::select.)

digits

integer indicating the number of decimal places (uses round). Use NA for no rounding.

Details

As summarising numeric variables usually results in unreadable numbers with many decimals, quick rounding is available for your convenience. Note that you lose precision by rounding, and that all numeric values are rounded, regardless whether the summarized variable was an integer or double (e.g. all numbers get 2 decimals, regardless if that makes sense).

Value

A tibble with the summary.


LS31/tibblesummary documentation built on Dec. 24, 2019, 2:31 p.m.