R/example-exponential.R
rdata.exponential_lifetime.RdGenerates exponential data, optionally with right-censoring at a fixed censoring time.
# S3 method for class 'exponential_lifetime'
rdata(model, ...)A function(theta, n, censor_time, ...) that returns a data frame