Description Usage Arguments Value
View source: R/bootstrap_freq.R
Bootstrapping analysis of random occurence
1 | bootstrap_freq(df, bin_toggle = 1)
|
df |
a 'data.frame' that should include two columns with two groupings 'class' (classification group that is held steady) and 'testGrouping' (binned attribute that may explain class distribution) |
bin_toggle |
'numeric', optional, determines which direction to run the bootstrapping: '1' tests the likelihood from random that the class occurs preferentially or not within a testGrouping, default, likely the value to use; '2' tests the opposite direction from '1' |
a list of 2: (1) The p-value of each class-testGrouping pair. If the value is less than 0.05, then the pair frequency is significantly different from random with a 95
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.