gsimplify {exams.forge} | R Documentation |
Simplified hyperloop
Object
Description
Simplifies a hyperloop
object if possible.
Usage
gsimplify(ga, exclude = NULL, subset = NULL)
simplify_hyperloop(ga, exclude = NULL, subset = NULL)
simple_hloop(ga, exclude = NULL, subset = NULL)
Arguments
ga |
list: of a |
exclude |
character or integer: elements to exclude in each list element of |
subset |
indices specifying elements of |
Value
A data frame if possible, otherwise a list.
Examples
# calls: t.test(x, -1), t.test(x, 0), t.test(x, 1)
ga <- gapply(t.test, x=I(rnorm(100)), mu=-1:1)
# no simplication since `data.name` and `conf.int` have lengths larger than one
gsimplify(ga)
#' simplification is now possible
gsimplify(ga, exclude=c("conf.int", "data.name"))
[Package exams.forge version 1.0.10 Index]