View source: R/plotDensities.R
summariseEstimates | R Documentation |
Summarise estimates and check for pairwise differences
summariseEstimates(
yEstimates,
type = "Sample",
checkDifferences = TRUE,
probability = 0.95,
checkDifferencesReference = FALSE,
referenceType = "dist",
referenceDist = "norm",
referenceParameters = c(0, 1),
referenceSample = c(),
referenceTable = matrix(data = NA, nrow = 2),
meanType = "1"
)
yEstimates |
An object created by |
type |
A character. Summarise and compare distribution by "Individual" (default), "Category" or all individuals "Combined"? |
checkDifferences |
A boolean. Check pairwise differences TRUE / FALSE. Only relevant if type = "Individual" or "Category" |
probability |
A numeric. Level of the credible intervals. |
checkDifferencesReference |
A boolean. Check differences with reference distribution or sample. |
referenceType |
A character. Type of reference, one of: "dist", "sample" and "freqTable" |
referenceDist |
A character. Type of distribution in R, defaults to "norm" (if referenceType = "dist") |
referenceParameters |
A numeric vector. Parameters of reference distribution (same order as in corresponding r-function) |
referenceSample |
A numeric vector. Sample from reference distribution (if referenceType = "sample") |
referenceTable |
A numeric vector. Sample from reference distribution (if referenceType = "sample") |
meanType |
A character "1" for total variance for category type, "2" for mean variance |
A ggplot2 object with densities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.