| .compute_weights_from_dist | R Documentation |
Evaluates a named distribution at each value in effect_values, normalises
the result to sum to 1, and returns a named numeric vector compatible with
compute_assurance() and beta_weights_on_grid().
.compute_weights_from_dist(dist_spec, effect_values)
dist_spec |
A list with at minimum a
|
effect_values |
Numeric vector of effect-grid values at which to evaluate the density. |
Named numeric vector of normalised weights (sums to 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.