Learn R Programming

cusum (version 0.4.1)

calc_cusum: Calculate CUSUM

Description

This function calculates the CUSUM chart for the given sequence of successes and failures

Usage

calc_cusum(x, c0, cA)

Arguments

x

vector of outcomes

c0

accepted failure probability

cA

smallest detectable failure probability

Value

Returns matrix of possible sequences