downscale_control_pop: Set options for population downscaling

View source: R/downscale_control.R

downscale_control_popR Documentation

Set options for population downscaling

Description

This function can be called to specify additional options to the downscalR solver. The user can change the solver function, specify solver behavior, and stopping conditions.

Usage

downscale_control_pop(
  solve_fun = "solve_biascorr",
  MAX_EXP = log(.Machine$double.xmax),
  max_diff = 1e-08,
  err.txt = ""
)

Arguments

solve_fun

The name of the downscaling function to use. Has to be a valid R function. Defaults to "solve_biascorr".

MAX_EXP

Numerical cutoff for MNL function.

max_diff

If difference to targets is larger, redo the estimation (helps to avoid convergence errors)

err.txt

Error text for caller identification (used for debugging)

Value

List with default options for bias correction solver

Examples

opts1 = downscale_control_pop()

tkrisztin/downscalr documentation built on June 2, 2025, 1:16 a.m.