toFileDisProg: Writing of Disease Data

Description Usage Arguments Details Value See Also Examples

Description

Writing of disease data (disProg object) into a file.

Usage

1
    toFileDisProg(disProgObj, toFile)

Arguments

disProgObj

The disProgObj to save in file

toFile

The path and filename of the file to save

Details

Writing of disProg object into a file as illustrated in the example.

Value

file

The file with the disease data

See Also

readData, sim.pointSource

Examples

1
2
3
    disProgObj <- sim.pointSource(length=200, K=1)
    toFileDisProg(disProgObj, "./simulation.txt")
    mydisProgObj <- readData("./simulation",sysPath=FALSE)

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