f_stat_max_diff_of_freq: calculate the maximal difference in frequencies between to...

Description Usage Arguments Value Examples

View source: R/f_stat.R

Description

used as a helper function for f_stat_chi_square

Usage

1
f_stat_max_diff_of_freq(df, col_var1, col_var2)

Arguments

df

dataframe containing both avariables

col_var1

character vector denoting variable column 1

col_var2

character vector denoting variable column 2

Value

dataframe

Examples

1
2
data_ls = f_clean_data(mtcars)
df_chi_squ = f_stat_max_diff_of_freq(data_ls$data, 'cyl', 'gear')

erblast/oetteR documentation built on Aug. 4, 2018, 11:03 p.m.