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

View source: R/MP_Indicator.R

MP_IndicatorR Documentation

Binary Indicator for Multi-state RDT with Multiple Periods

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

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

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))

ericchen12377/MSRDT documentation built on Oct. 23, 2023, 1:16 a.m.