Trajectory: Temporal trajectory to computing the confidence band

Description Usage Arguments Details Value

View source: R/trajectory.R

Description

Trajectory.

Usage

1
Trajectory(epi = NULL, Dat_obs = NULL, var = "t_r")

Arguments

epi

A matrix specifying the simulated epidemic. Note that the object should be of the form of the output of Simulate_contact_control or Simulate_contact_model

Dat_obs

A 2 columns data frame wiht compoents:

times

The sequence of times at which the observations are made

obs

the number of observation recorded at a given time

var

The observation variable. t_r is the default.

Details

Trajectory Provide a the trjaectory of the simulated epidemic.

Value

A data frame of observation. By default it considers the removals.


holaanna/contactsimulator documentation built on Dec. 2, 2019, 2:39 a.m.