assign_test: determine the appropriate test type given two variables

Description Usage Arguments Value

Description

determine the appropriate test type given two variables

Usage

1
assign_test(data, var, var_summary_type, by_var, test, id)

Arguments

data

input data set

var

categorical or continuous variable for which a test with by_var is desired

var_summary_type

summary_type from meta data

by_var

categorical variable

test

list of user defined statistical tests and corresponding variables

Value

most appropriate test as text of the test function


ddsjoberg/gtsummary-v0.1 documentation built on June 4, 2019, 7:48 a.m.