Trajectory_dis: Temporal trajectory to computing the wave speed

Description Usage Arguments Details Value

View source: R/trajectory.R

Description

Trajectories.

Usage

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

Arguments

epi

A list of matrix specifying the simulated epidemics. 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 with components:

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_dis Provide a the trjaectories of the maximum distance the inoculum has travelled.

Value

A data frame consting of the the time points and the max distance the wave has traveled. By default it considers the removals.


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