powered by
Animate a sequence of nowcasts stored as a list.
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)
This function is experimental and is not yet documented.
A list of objects of class stsNC
stsNC
True linelist
Which method to show (has to be present in the nowcasts)
List with control options
Boolean indicating whether to show the estimate for the epidemic curve (only applied to bayes.trunc.ddcp)
bayes.trunc.ddcp
M. Höhle
This function is experimental and might be changed in the future.
## See http://staff.math.su.se/hoehle/blog/2016/07/19/nowCast.html for ## a worked through example. Code will migrate into the package in due ## course.
Run the code above in your browser using DataLab