Learn R Programming

surveillance (version 1.23.1)

imdepifit: Example twinstim Fit for the imdepi Data

Description

data("imdepifit") is a twinstim model fitted to the imdepi data.

Usage

data("imdepifit")

Arguments

Format

an object of class "twinstim" obtained from the following call using data(imdepi):

data(imdepifit, package="surveillance") writeLines(deparse(imdepifit$call, width.cutoff = 25))

See Also

common methods for "twinstim" fits, exemplified using imdepifit, e.g., summary.twinstim, plot.twinstim, and simulate.twinstim

Examples

Run this code
data("imdepi", "imdepifit")

## how this fit was obtained
imdepifit$call
if (surveillance.options("allExamples"))
## reproduce "imdepifit"
stopifnot(all.equal(imdepifit, eval(imdepifit$call)))

Run the code above in your browser using DataLab