Find the next beta according to: ¤ approximation_ratio(alpha, beta_old, beta_new) == max_approx ¤ beta_new >= beta_old + min_increase ¤ beta_new <= beta_max
Source:R/optimisation.R
      next_beta.RdFind the next beta according to: ¤ approximation_ratio(alpha, beta_old, beta_new) == max_approx ¤ beta_new >= beta_old + min_increase ¤ beta_new <= beta_max
Usage
next_beta(
  residuals2,
  epsilon2,
  beta = 0,
  weight = NULL,
  beta_max = 20/epsilon2,
  log_max_approx = log(1.15),
  beta_min_increase = (beta_max + beta) * 5e-04
)