Description Usage Arguments Value Author(s) See Also
View source: R/renormalize.weights.R
This function creates a discrete probability distribution from a set of unnormalized (log) weights.
1 | renormalize.weights(weights, log=FALSE, engine="R")
|
weights |
a vector of numbers (>0 if log=FALSE) |
log |
a logical indicating whether the weights are given as the logarithm of the weights |
engine |
run using "R" or "C" code |
a vector of probabilities that sum to 1
Jarad Niemi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.