Description Usage Arguments See Also Examples
View source: R/print.pandemicPredicted.R
S3 method designed to summarize the prediction obtained by the posterior_predict.stanpandemic function. It is not necessary to call function directly, only visualize the object directly, unless it is desired to change the default arguments.
1 2 |
summaryFun |
Use this function to summarize the predictions. Default argument is mean, but can be any function on a vector |
printPred |
Valid values are 'Long' or 'Short'. Note that 'Short' will show cumulative predictions |
posterior_predict.stanpandemic and plot.pandemicPredicted
1 2 3 4 5 | ## Not run: dataMG = load_covid("Brazil","MG")
estimMG = stan_pandemic(dataMG)
predMG = posterior_predict(estimMG)
predMG
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.