Description Usage Arguments Details
View source: R/get_objective.R
Function that takes desrired mean, distance, and probability, and outputs another function to be optimized. Adapted into beta_pal.
1 | get_objective(desired_mean, desired_dist, desired_mass)
|
desired_mean |
expected_value. |
desired_dist |
within. |
desired_mass |
this_much. This function is called by beta_pal internally. |
This solution coded by by this most helpful gist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.