f_stat_combine_anova_with_chi_square: combines anova with chi square results into single dataframe

Description Usage Arguments Details Value Examples

Description

keeps wither the anova or the kruskal p value depending on the results of the shapiro test (shapiro_stat > 0.9 p_val > 0.05) and keeps the difference of percent of the mean. Still works if one of the input dataframes is NULL

Usage

1
2
f_stat_combine_anova_with_chi_square(df_anova = NULL,
  df_chi_square = NULL)

Arguments

df_anova

dataframe created with f_stat_anova, Default: NULL

df_chi_square

dataframe created with f_stat_chi_square(), Default: NULL

Details

DETAILS

Value

OUTPUT_DESCRIPTION

Examples

1
2
3
4
5
6
7
8
9
 data_ls = f_clean_data(mtcars)
 df_chi_squ = f_stat_chi_square(data_ls, 'cyl')
 df_anova = f_stat_anova(data_ls, 'cyl')
 df_comb = f_stat_combine_anova_with_chi_square(df_anova, df_chi_squ)
 df_comb
 df_comb = f_stat_combine_anova_with_chi_square(df_anova)
 df_comb
 df_comb = f_stat_combine_anova_with_chi_square(df_chi_square = df_chi_squ)
 df_comb

erblast/oetteR documentation built on May 27, 2019, 12:11 p.m.