| calcPSub | R Documentation | 
Calculate p-value based on a proportion
calcPSub(prop, altSide)
| prop | numeric. Proportion of the null distribution less than the sample statistic. | 
| altSide | 'both', 'high' or 'low'. The side of the null hypothesis the alternate hypothesis is on. | 
A single numeric, the p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.