Propose new values based on points near bounds This proposes new values based on wiggling a little bit away from the values near the bounds of the good region

sphere_propose(
  results,
  delta,
  old_params,
  lower_bound = -Inf,
  upper_bound = Inf,
  sd = 1
)

Arguments

results

Data.frame of results so far

delta

The maximum distance from the best value to consider

old_params

The original parameter values

lower_bound

Minimum parameter values to try. One for all or a vector of the length of par.

upper_bound

Maximum parameter values to try. One for all or a vector of the length of par.

sd

Standard deviation to use for the proposals. One for all or a vector of the length of par.

Value

A vector of the new parameter values