Skip to contents

This function is a generic tbl_fn function to use with numeric variables when calling get_desc_table().

Usage

tbl_fn_num(df, vars)

Arguments

df

data.frame

vars

Vector of variable names

Value

Table of descriptive statistics

Details

This should be passed as tbl_fn when calling get_desc_table(). If you want to create a custom tbl_fn, you should model it after this one.

Examples

if (FALSE) {
df |> tbl_fn_num("age")
}