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

View source: R/stata_sum.R

stata_sumR Documentation

Function to produce Stata-like variable(s) summary

Description

Produce variable(s) summary statistics

Usage

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 Sept. 18, 2024, 9:46 a.m.