powered by
Log-Normal Residuals
res_lnorm(x, meanlog = 0, sdlog = 1, type = "dev", simulate = FALSE)
A numeric vector of values.
A numeric vector of the means on the log scale.
A non-negative numeric vector of the standard deviations on the log scale.
A string of the residual type ('raw' or 'dev').
A flag specifying whether to simulate residuals.
An numeric vector of the corresponding residuals.
Other res_dist: res_bern(), res_binom(), res_gamma_pois(), res_neg_binom(), res_norm(), res_pois()
res_bern()
res_binom()
res_gamma_pois()
res_neg_binom()
res_norm()
res_pois()
# NOT RUN { dev_norm(exp(c(-2:2))) # }
Run the code above in your browser using DataLab