Learn R Programming

surveillance (version 1.23.1)

stsNClist_animate: Animate a Sequence of Nowcasts

Description

Animate a sequence of nowcasts stored as a list.

Usage

animate_nowcasts(nowcasts,linelist_truth, method="bayes.trunc.ddcp",
      control=list(dRange=NULL,anim.dRange=NULL, plot.dRange=NULL,
                   consistent=FALSE, sys.sleep = 1, ylim=NULL,cex.names=0.7,
                   col=c("violetred3","#2171B5","orange","blue","black",
                         "greenyellow")),
                   showLambda=TRUE)

Value

This function is experimental and not yet fully documented.

Arguments

nowcasts

A list of objects of class stsNC

linelist_truth

True linelist

method

Which method to show (has to be present in the nowcasts)

control

List with control options

showLambda

Boolean indicating whether to show the estimate for the epidemic curve (only applied to bayes.trunc.ddcp)

Author

M. Höhle

See Also