get_objective: Objective function

Description Usage Arguments Details

View source: R/get_objective.R

Description

Function that takes desrired mean, distance, and probability, and outputs another function to be optimized. Adapted into beta_pal.

Usage

1
get_objective(desired_mean, desired_dist, desired_mass)

Arguments

desired_mean

expected_value.

desired_dist

within.

desired_mass

this_much.

This function is called by beta_pal internally.

Details

This solution coded by by this most helpful gist.


softloud/parameterpal documentation built on Sept. 7, 2020, 3:49 a.m.