Learn R Programming

Sobol4R (version 0.4.0)

one_unit: Simulate one unit in the simple process

Description

Internal helper. The output is a length-3 numeric vector: success indicator, waiting time to decision, and extra time if success.

Usage

one_unit(lambda1, lambda2, lambda3, p1, p2)

Value

Numeric vector c(success, t_decision, extra_time_if_success).

Arguments

lambda1, lambda2, lambda3

Positive rates.

p1, p2

Success probabilities.