create_demographic_table {heemod}R 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.

Details

An optional .weights column can exist in the file.

Value

A data frame.


[Package heemod version 1.0.1 Index]