check.integrals: Check Integrals

Description Usage Arguments Value Author(s) See Also Examples

View source: R/check_integrals.R

Description

Function for checking that the integrals of pif are nonnegative.

Usage

1
check.integrals(meanrr, meancft)

Arguments

meanrr

Mean of relative risk rr without counterfactual

meancft

Mean of relative risk rr with counterfactual

Value

bool TRUE if as desired

Author(s)

Rodrigo Zepeda-Tello [email protected]

Dalia Camacho-Garc<c3><ad>a-Forment<c3><ad> [email protected]

See Also

check.confidence, check.thetas, check.cft, check.xvar, check.rr, check.exposure

Examples

1
2
3
4
5
6
7
check.integrals(1,0)

## Not run: 
check.integrals(0,1)
check.integrals(1,-1)

## End(Not run)

pifpaf documentation built on Sept. 29, 2017, 1:03 a.m.