Description Usage Arguments Value References Examples
View source: R/do_1country_run.R
Runs the family planning estimation model and returns samples and bias adjusted observations for respective run.
1 2 3 4 5 6 7 8 9 10 |
is_in_union |
‘Character’ "Y" if women are in union. |
surveydata_filepath |
‘Character’ If NULL package data is used |
service_stats |
‘Logical’ If FALSE service statistics are not used. Service stats are not public. Requires FPcounts/fpemservicestat package |
service_stats_filepath |
‘Character’If NULL private package data is used. Requires FPcounts/fpemservicestat package |
division_numeric_code |
‘Numeric’ A number associated with the country. See the data from |
first_year |
‘Numeric’ The first year of model estimates in output. The model will be fit to all data, including dates before this date if available |
last_year |
‘Numeric’ The last year of model estimates in output. The model will be fit to all data, including dates after this date if available |
subnational |
'‘Logical’ If FALSE runs the national model |
‘List’
posterior_samples ‘Numeric array’ An array of samples of dimension chains x samples x years x proportions
core_data ‘Data.frame’ The processed data associated with the model run from fpemmodeling::core_data
https://github.com/FPcounts/FPEM
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.