glm_sim | R Documentation |
Simulate values from some generalized linear models
glm_sim(family, eta, phi, other_pars, link, quantiles = TRUE)
family |
vector of distribution families |
eta |
list (or matrix) of linear forms |
phi |
vector of dispersion coefficients |
other_pars |
list of other parameters for specified family |
link |
link functions for GLMs |
quantiles |
logical indicating whether to return quantiles |
a numeric vector of weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.