ccmpp_draws: Helper function to do ccmpp at the draw level using...

Description Usage Arguments Value

View source: R/popReconstruct_draws.R

Description

Helper function to do ccmpp at the draw level using demCore::ccmpp()

Usage

1
ccmpp_draws(input_draws, settings, n_draws, draw_col_name)

Arguments

input_draws

[list()] of [data.table()]
Draws of ccmpp inputs as returned by calculate_ccmpp_input_draws().

settings

[list()]
Named list of settings for running the popReconstruct model with. The required settings are the same as those required for demCore::ccmpp(), see Section: Settings for these. The optional settings specific to popReconstruct are described in Section: Optional popReconstruct Settings

n_draws

[integer()]
Number of draws that are included in each ccmpp input [data.table()].

draw_col_name

[character(1)]
Name of column in offset_draws [data.table()] that corresponds to draw index

Value

[data.table()] containing draws of projected population estimates.


ihmeuw-demographics/popMethods documentation built on Jan. 29, 2021, 12:39 p.m.