individual_results {opa} | R Documentation |
Individual-level PCC and chance values.
Description
Individual-level PCC and chance values.
Usage
individual_results(m, digits)
Arguments
m |
an object of class "opafit" produced by |
digits |
an integer |
Details
If the opa
model was fitted with no grouping variable, a matrix of PCCs
and c-values are returned corresponding to the order of rows in the data. If
the opa
model was fitted with a grouping variable specified, a table of
PCCs and c-values is returned ordered by factor level of the grouping
variable.
Value
a matrix containing a column of PCC values and a column of c-values with 1 row per row of data.
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)
individual_results(opamod)
[Package opa version 0.8.3 Index]