Description Usage Arguments Value See Also
Given the names of two variable ind1
and ind2
in a data frame
df
decide which test should be performed to calculate the relationship
between these variables. The decision is based on their respective classes.
Class pairs and the corresponing
tests: factor/factor - Chi-square (with or without a Monte-Carlo simulation),
numeric/numeric and numeric/factor - anova F test
1 | testDecisionTree(ind1, ind2, df)
|
ind1 |
a string to indicate the name of the first variable |
ind2 |
a string to indicate the name of the second variable |
df |
a data frame with the variables |
chisq.p.val.sim |
boolean to indicate whether the simulation should be performed for the Chi-square test. Default is TRUE |
P value for the test
Test statistic
Type of the test performed: anova F test or Chi-square test
variablesRelation
, carefulChisq
, carefulLM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.