factor_dist: factor_dist

factor_distR Documentation

factor_dist

Description

factor_dist

Usage

factor_dist(table_obj, col_var, pct_digits = 1, removeNA = TRUE)

Arguments

df

Dataframe

Details

An internal function that takes a table object (i.e. a cross table for all factor variables in the data) and outputs marginal table. If there are more than 1 group, then fisher exact tests are applied to assess the between-group differences.

Value

a dataframe consisting of columns of character variables indicating the frequency and proportion of logical variables.


fanstev1/fanetc documentation built on April 17, 2025, 10:58 a.m.