PsiLFC {lfc} | R Documentation |
Psi LFC effect size estimator
Description
Computes the optimal effect size estimate and credible intervals if needed.
Usage
PsiLFC(
A,
B,
prior = EmpiricalBayesPrior(A, B),
normalizeFun = CenterMedian,
cre = FALSE,
verbose = FALSE
)
Arguments
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? |
Value
Either a vector containing the estimates, or a data frame containing the credible interval as well
Examples
PsiLFC(rnorm(1000,200),rnorm(1000,100))
[Package lfc version 0.2.3 Index]