ancsite_pred_df: Prepare design matrix indices for ANC prevalence predictions

View source: R/likelihood.R

ancsite_pred_dfR Documentation

Prepare design matrix indices for ANC prevalence predictions

Description

Prepare design matrix indices for ANC prevalence predictions

Usage

ancsite_pred_df(ancsite_df, fp)

Arguments

ancsite_df

data.frame of site-level ANC design for predictions

fp

fixed parameter input list

Examples

pjnz <- system.file("extdata/testpjnz", "Botswana2017.PJNZ", package="eppasm")
bw <- prepare_spec_fit(pjnz, proj.end=2021.5)


bw_u_ancsite <- attr(bw$Urban, "eppd")$ancsitedat
fp <- attr(bw$Urban, "specfp")

ancsite_pred_df(bw_u_ancsite, fp)


mrc-ide/eppasm documentation built on March 25, 2024, 9:19 p.m.