get_summary_statistics: Function to get summary statistics from a dataframe.

View source: R/results.r

get_summary_statisticsR Documentation

Function to get summary statistics from a dataframe.

Description

This function produces a table of summary statistics based on a formula and a dataframe.

Usage

get_summary_statistics(formula.list, data, labels = NULL)

Arguments

formula.list

A formula or list of formulas that indicate which variables are included in summary statistics.

data

Dataframe with variables to produce summary statistics from.

labels

An optional vector of labels: c("variable" = "label).

Value

A dataframe of summary statistics.

See Also

Other post analysis exploration: get_variable_effects(), identify_examples()

Examples

get_summary_statistics(formula.list = ~ variable, data = df, labels = c("variable" = "label"))


jacobaro/danalyze documentation built on Oct. 20, 2022, 8:09 a.m.