Simulate an error term
Usage
make_error(
n = 10,
mu = 0,
var = 1,
method = c("normal", "laplace", "cauchy", "lognormal")
)Details
"normal": fit withrnorm()"laplace": fit withsmoothmest::rdoublex()"cauchy": fit withrcauchy()"lognormal": fit withrlnorm()