calculate_pvalue: This function takes in the meta-data and calculates an...

Description Usage Arguments Value

Description

This function takes in the meta-data and calculates an appropriate p-value

Usage

1
calculate_pvalue(data, variable, by, test, type, id)

Arguments

data

input data set

variable

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

by

categorical variable

test

list of statistical tests from meta data

type

the type of variable, one of categorical or continuous, from the metadata

id

the id variable for clustered data

Value

a table of p-values for each variable


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