View source: R/simanalyse-summarise.R
sma_summarise | R Documentation |
Derive new variables from the results of analyses
sma_summarise( object, measures = c("mean", "lower.q", "upper.q"), monitor = ".*", alpha = 0.05, custom_funs = list() )
object |
An mcmcr or mcmcrs object. |
measures |
A vector of strings indicating which functions to calculate over the mcmc samples. Strings may include "mean", "median", "lower.q" (lower bound of the quantile-based credible interval), "upper.q" (upper bound of the quantile-based credible interval), "var", "sd", "q1" (1st quartile), "q3" (3rd quartile) |
monitor |
A character vector (or regular expression if a string) specifying the names of the variables in |
alpha |
scalar representing the alpha level used to construct credible intervals. Default is 0.05. |
custom_funs |
A named list of functions to calculate over the mcmc samples. This optional argument can be used to calculate
measures that cannot be specified through |
A flag.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.