summarize_variables: Summarize Variables

Description Usage Arguments Details Value

View source: R/summary-table.R

Description

Takes the name of a variable in the data.frame supplied to sum_tabler and calculates the summary statistics for that variable.

Usage

1
summarize_variables(nm, data, func_list, na.rm, xlevels)

Arguments

nm

Character scalar of a variable name from the data.frame

data

Data.frame containing variable 'nm'.

func_list

List of functions to use to evaluate variable expressed as a character vector

na.rm

Boolean indicating if NA values should be removed before running functions

xlevels

List with named vectors of factor levels

Details

This is an internal function.

Value

A data.frame with the summary table rows for the variable


kbrevoort/tabler documentation built on Oct. 20, 2020, 7:49 a.m.