magic.summary: Tabulate the comparisons of different MAGIC designs.

View source: R/magic_summary.R

magic.summaryR Documentation

Tabulate the comparisons of different MAGIC designs.

Description

This function takes a list of outputs from magic.eval and compares the MAGIC designs. It is similar to magic.plot, excepts the results are shown in tables instead of figures.

Usage

magic.summary(input, complete = FALSE, design.names = NULL)

Arguments

input

a list of outputs from magic.eval.

complete

a logical indicator of whether to produce a complete summary or not.

design.names

a vector of design names (optional).

Value

a list of 6 different comparisons.

See Also

magic.plot

Examples


mpop1 <- magic.eval(n=8, m=1, reps=c(1,1,4), self=c(0,0,3), balanced=TRUE, n.sim=10)
mpop2 <- magic.eval(n=8, m=7, reps=c(1,1,4), self=c(0,0,3), balanced=FALSE, n.sim=10)
mpop <- magic.summary(input=list(mpop1, mpop2))



cjyang-sruc/magicdesign documentation built on March 19, 2022, 9:34 a.m.