MP_Indicator: Binary Indicator for Multi-state RDT with Multiple Periods

Description Usage Arguments Value Examples

View source: R/MP_Indicator.R

Description

Define the binary indicator function to check whether the failure probability satisfies the lower level reliability requirements for each cumulative period (for Multi-state RDT, Multiple Periods)

Usage

1
MP_Indicator(pivec, Rvec)

Arguments

pivec

Failure probability for each separate period.

Rvec

Lower level reliability requirements for each cumulative period from the begining of the test.

Value

0 – No; 1 – Yes.

Examples

1
2
3
MP_Indicator(pivec = c(0.1, 0.2), Rvec = c(0.8, 0.6))
MP_Indicator(pivec = c(0.1, 0.2, 0.1), Rvec = c(0.8, 0.6, 0.4))
MP_Indicator(pivec = c(0.1, 0.3), Rvec = c(0.8, 0.7))

MSRDT documentation built on July 2, 2020, 2:13 a.m.