draw_resgompertz.Rd
Draw from a restricted Gompertz distribution
draw_resgompertz(
n,
shape,
rate,
lower_bound = 0,
upper_bound = Inf,
seed = NULL
)
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 restricted distribution
The upper bound of the restricted distribution
An integer which will be used to set the seed for this draw.
Estimate(s) from the restricted Gompertz distribution based on given parameters
draw_resgompertz(1,shape=0.05,rate=0.01,lower_bound = 50)
#> [1] 8.960268