calcPSub: Calculate p-value

View source: R/calcBootEst.R

calcPSubR Documentation

Calculate p-value

Description

Calculate p-value based on a proportion

Usage

calcPSub(prop, altSide)

Arguments

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.

Value

A single numeric, the p-value.


MiguelRodo/ggboot documentation built on Nov. 9, 2023, 5:45 p.m.