calcPTbl | R Documentation |
Calculate p value for each subgroup in a table
calcPTbl(bootData, origData, method, altSide, nullValue)
bootData |
dataframe. Must have character column split, defining
groups, and bootStat/bootTStat, giving |
origData |
dataframe. Must have character column split, defining groups, and origStat/origTStat, giving original sample estimate of statistic for which p-value is required. |
method |
character. The method specified by the argument |
altSide |
"both", "low" or "high". Specifies side(s) of null hypothesis alternative hypothesis lies. |
calcStat |
function. Function that calculates the statistic for which a confidence interval is required. |
A dataframe with columns split and p.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.