PsiLFC | R Documentation |
Computes the optimal effect size estimate and credible intervals if needed.
PsiLFC(
A,
B,
prior = EmpiricalBayesPrior(A, B),
normalizeFun = CenterMedian,
cre = FALSE,
verbose = FALSE
)
A |
Vector of counts from condition A |
B |
Vector of counts from condition B |
prior |
Vector of length 2 of the prior parameters |
normalizeFun |
Function to normalize the obtained effect sizes |
cre |
Compute credible intervals as well? (can also be a vector of quantiles) |
verbose |
verbose status updates? |
Either a vector containing the estimates, or a data frame containing the credible interval as well
PsiLFC(rnorm(1000,200),rnorm(1000,100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.