toFileDisProg {surveillance}R Documentation

Writing of Disease Data

Description

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

Usage

    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

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

[Package surveillance version 1.0-3 Index]