summarize_variable: Simple summary of a numeric type variable

Description Usage Arguments Value

View source: R/summarize_variable.R

Description

If the column is numeric or a date this function will return the min, Q1, median (Q2), Q3, max, mean, sd (only for numeric and interger), and count of missing data. If data type is of character or factor, a count of the character will be returned alonged with p (percent of column, or group if dplyr::group_by() is passed) and a formatted p for a clean presentation in plots and/or tables.

Usage

1

Arguments

.data

A tbl.

.col

A numeric column that will be summarized

round

A logical. If TRUE, the default, it will round all decimals to the hundredths position.

Value

A summarized tbl


KoderKow/kowr documentation built on July 19, 2021, 4:18 p.m.