calcPW | R Documentation |
Calculates the mean or median sample estimates of all
pair-wise differences within a factor. Can be set
compute the maximum Bayes factors (MBFs) and indicate
which of the comparisons are statistically
significant after controlling the false discovery rate, if the number of bootstrap repetition (B
) is set to greater than 0.
calcPW(data, calcStat, trim = 0.2, B, seB, method = "percT", fdr = FALSE)
data |
dataframe. Contains numeric variable named 'resp' for responses and character variable named 'group' containing factor levels. |
calcStat |
function olr character. Bootstrap statistic function. Functions other than mean or median used at own risk. |
B |
integer. Number of bootstrap samples per subgroup. If equal to zero, then the MBF is not calculated. |
fdr |
numeric. False discovery rate. |
A tibble of the comparison groups and estimates of differences in calcStat
, as well as the confidence intervals and MBFs if bootstrapping was performed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.