create_demographic_table: Read a Demographic Table

View source: R/tabular_input.R

create_demographic_tableR Documentation

Read a Demographic Table

Description

This function mostly checks whether the parameters are correct.

Usage

create_demographic_table(newdata, params)

Arguments

newdata

A data frame.

params

Parameters of a model, to check that all the columns in the demographic table (other than the weight column) are in the model.

...

catches other, unwanted arguments.

Details

An optional .weights column can exist in the file.

Value

A data frame.


PolicyAnalysisInc/heRoMod documentation built on March 23, 2024, 4:29 p.m.