esImcp <-
function(J,K,x,tr=0.2,nboot=100,SEED=TRUE){
#
# Compute measure of effect size for all interactions in a J-by-K design
# A robust, heteroscedastic measure of effect (explanatory measure of
# effect size) is used.
#
if(is.matrix(x)|| is.data.frame(x))x=listm(x)
con=con2way(J,K)$conAB
es=NULL
for (j in 1:ncol(con)){
flag=(con[,j]!=0)
es[j]=esI(x[flag],tr=tr,nboot=nboot,SEED=SEED)$Effect.Size
}
list(Effect.Sizes=es,contrast.coef=con)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.