testSim: Print xtable for a Simulated Disease and the Summary

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Just a test method.

Usage

1
2
3
    testSim(p = 0.99, r = 0.01, length = 400, A = 1, alpha = 1,
            beta = 0, phi = 0, frequency = 1, state = NULL, K, 
            range = 200:400)

Arguments

p

probability to get a new epidemy at time i if there was one at time i-1, default 0.99

r

probability to get no new epidemy at time i if there was none at time i-1, default 0.01

length

number of weeks to model, default 400

A

amplitude (range of sinus), default = 1

alpha

parameter to move along the y-axis (negative values not allowed) with alpha > = A, default = 1

beta

regression coefficient, default = 0

phi

factor to create seasonal moves (moves the curve along the x-axis), default = 0

frequency

factor to determine the oscillation-frequency, default = 1

state

use a state chain to define the status at this timepoint (outbreak or not). If not given a Markov chain is generated by the programme, default NULL

K

additional weigth for an outbreak which influences the distribution parameter mu, default = 0

range

range of timepoints to be evaluated by the RKI 1 system, default 200:400.

Details

A pointSource epidemy is generated and sent to the RKI 1 system, the quality values for the result are computed and shown as a latex table. Additionally a plot of the result is generated.

Value

xtable

one printed latex table and a result plot

Author(s)

M. Höhle, A. Riebler, C. Lang

See Also

sim.pointSource, algo.call, algo.compare, plot.survRes, compMatrix.writeTable

Examples

1
2
    testSim(K = 2)
    testSim(r = 0.5, K = 5)

jimhester/surveillance documentation built on May 19, 2019, 10:33 a.m.