powered by
Draw from a conditional Gompertz distribution (lower bound only)
rcond_gompertz(n = 1, shape, rate, lower_bound = 0, seed = NULL)
Estimate(s) from the conditional Gompertz distribution based on given parameters
The number of observations to be drawn
The shape parameter of the Gompertz distribution, defined as in the coef() output on a flexsurvreg object
The rate parameter of the Gompertz distribution, defined as in the coef() output on a flexsurvreg object
The lower bound of the conditional distribution
An integer which will be used to set the seed for this draw.
rcond_gompertz(1,shape=0.05,rate=0.01,lower_bound = 50)
Run the code above in your browser using DataLab