powered by
Create an instance of CF1.
cf1(size, alpha, rate)
An instance of CF1.
An integer of the number of phases
A vector of initial probabilities
A vector of rates
## create a CF1 with 5 phases (param1 <- cf1(5)) ## create a CF1 with 5 phases (param1 <- cf1(size=5)) ## create a CF1 with specific parameters (param2 <- cf1(alpha=c(1,0,0), rate=c(1.0,2.0,3.0)))
Run the code above in your browser using DataLab