Skip to contents

Stochastic model that simulates successive units until M successes occur, and returns the time when the M-th success happens.

Usage

process_fun_indiv(X_indiv, M = 50)

Arguments

X_indiv

Numeric vector c(lambda1, lambda2, lambda3, p1, p2).

M

Target number of successes.

Value

Scalar time to M successes, with attribute "success".