fullxtab: Improved xtab

Description Usage Arguments Examples

View source: R/fullxtab.R

Description

Gets the xtab, calculates the percentages and gets the p-value

Usage

1
fullxtab(working_data, var1, var2)

Arguments

working_data

data frame to work with

var1

colname as a string, the categories of this var will be the row names for the xtab

var2

colname as a string, will the cols for the xtab, needs to be in 0 / 1 form

Examples

1
2
fullxtab_function(var1, var2)
fullxtab_function()

cctlin/clintools documentation built on May 14, 2019, 3:09 a.m.