param.net_from_table {EpiModel}R Documentation

Parameters List for Stochastic Network Models from a Formatted Data Frame

Description

Sets the epidemic parameters for stochastic network models with netsim using a specially formatted data frame of parameters.

Usage

param.net_from_table(long.param.df)

Arguments

long.param.df

A data.frame of parameters. See details for the expected format.

Details

It is possible to set input parameters using a specifically formatted data.frame object. The first 3 columns of this data.frame must be:

In addition to these 3 columns, the data.frame can contain any number of other columns, such as details or source columns to document parameter meta-data. However, these extra columns will not be used by EpiModel.

Value

A list object of class param.net, which can be passed to netsim.


[Package EpiModel version 2.4.0 Index]