Skip to contents

Group-level PCC and chance values.

Usage

group_results(m, digits)

Arguments

m

an object of class "opafit" produced by opa().

digits

a positive integer.

Value

a matrix with 1 row per group.

Details

If the model was fitted with no grouping variable, a single PCC and c-value are returned. If a grouping variable was specified in the call to opa then PCCs and c-values are returned for each factor level of the grouping variable.

Examples

dat <- data.frame(t1 = c(9, 4, 8, 10),
                  t2 = c(8, 8, 12, 10),
                  t3 = c(8, 5, 10, 11))
h <- hypothesis(1:3)
opamod <- opa(dat, h)
group_results(opamod)
#>        PCC  cval
#> pooled  50 0.247