stata_sum: Function to produce Stata-like variable(s) summary

Description Usage Arguments Value

View source: R/stata_sum.R

Description

Produce variable(s) summary statistics

Usage

1
stata_sum(.vars, .data, .percentile = c(0.25, 0.75), .by = NULL)

Arguments

.vars

Character vector giving variables to be summarized

.data

Data frame to be used for summary statistics construction

.percentile

Numeric vector of length 2 giving two percentile levels to be produced. Both values in the vector should be between 0 and 1

.by

Charatcer string giving variable to be used to break each variable summary by

Value

tibble object.


gerasy1987/usefulr documentation built on Aug. 31, 2021, 4:25 p.m.