MP_Indicator {MSRDT}R 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))

[Package MSRDT version 0.1.0 Index]