summary_sir | R Documentation |
Function that provides a summary of SIR outputs including: mean, median, 95 credible interval, 90
summary_sir(x, object = "USERDEFINED", file_name = "NULL")
x |
A data.frame of mcmc samples. |
object |
Name of the model object as specified by the user. |
file_name |
name of a file to identified the files exported by the function. If NULL, will not save .csv file. |
Returns a data.frame with summary of SIR outputs
x <- rnorm(1000, 5, 7)
y <- rnorm(1000, 6, 9)
df <- data.frame(x = x, y = y)
summary_sir( df , object = "example_summary")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.