pairwise_table_comp: pairwise_table_comp function

View source: R/summary.R

pairwise_table_compR Documentation

pairwise_table_comp function

Description

creates a list of information for pairwise comparisons of categorical or binomial variables. returns the individual tables, the individual the chi square models, a matrix of the chi square values, a matrix of the chi square p values, a matrix of the effect sizes, and a matrix of the starred pvalues

Usage

pairwise_table_comp(x = x, v = v, diagonal = TRUE)

Arguments

x

the data frame that the variables are to be pulled from

v

vector of variable names. all elements in the vector will have a pairwise comparison to all others

diagonal

boolean argument that returns the full symmetric matrix if FALSE and only the lower triangle if TRUE. default is TRUE

Examples

pairwise_table_comp_function()

clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.