Generates exponential data, optionally with right-censoring at a fixed censoring time.

# S3 method for class 'exponential_lifetime'
rdata(model, ...)

Arguments

model

An exponential_lifetime model

...

Additional arguments (ignored)

Value

A function(theta, n, censor_time, ...) that returns a data frame