View source: R/solve_biascorr.R
solve_biascorr.poisson | R Documentation |
Bias correction solver for Poisson type problems
solve_biascorr.poisson(targets, xmat, betas, options = downscale_control_pop())
targets |
A dataframe with columns pop.type and value (all targets >= 0) |
xmat |
A dataframe of explanatory variables with columns ks and value. |
betas |
A dataframe of coefficients with columns ks, lu.from, lu.to & value |
options |
A list with solver options. Call |
Given J
targets matches the projections from a Poisson-type model.
You should not call this functions directly, call downscale_pop
instead.
Targets should be specified in a dataframe with a pop.type and a value column. All targets must be larger or equal to zero.
A list containing
out.res
A n x p
matrix of area allocations
out.solver
A list of the solver output
## A basic example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.