rejectionWeights | R Documentation |
Get weights for rejection sampling
rejectionWeights(dat, mms, family, pars, qden, link)
dat |
data frame of variables to change conditional distribution of |
mms |
list of model matrices |
family |
vector of distribution families |
pars |
parameters for new distributions |
qden |
functions for densities used to simulate variables |
link |
link functions for GLMs |
a numeric vector of weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.