| calcP | R Documentation | 
Calculate the p-value for a specific subgroup.
calcP(bootData, origStat, origSE = NULL, nullValue, altSide = NULL,
  method = "perc")
| bootData | dataframe. Must have column named bootStat with bootstrap sample statistics.
If  | 
| origStat | numeric. Original sample estimate. Required. | 
| origSE | numeric. Original sample estimate standard error. Required if  | 
| nullValue | numeric. Borderline value under the null hypothesis. | 
| altSide | both', 'high' or 'low'. The side of the null hypothesis the alternate hypothesis is on. | 
The p-value as a numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.