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

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 0.9-6 Index]