Prints a summary of results from a fitted ordinal pattern analysis model.
Source:R/utility.R
summary.opafit.Rd
Prints a summary of results from a fitted ordinal pattern analysis model.
Usage
# S3 method for class 'opafit'
summary(object, ..., digits = 2L)
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)
summary(opamod)
#> Ordinal Pattern Analysis of 3 observations for 4 individuals in 1 group
#>
#> Between subjects results:
#> PCC cval
#> pooled 50 0.248
#>
#> Within subjects results:
#> PCC cval
#> 1 0.00 1.00
#> 2 66.67 0.52
#> 3 66.67 0.49
#> 4 66.67 0.32
#>
#> PCCs were calculated for pairwise ordinal relationships using a difference threshold of 0.
#> Chance-values were calculated from 1000 random orderings.
summary(opamod, digits = 3)
#> Ordinal Pattern Analysis of 3 observations for 4 individuals in 1 group
#>
#> Between subjects results:
#> PCC cval
#> pooled 50 0.248
#>
#> Within subjects results:
#> PCC cval
#> 1 0.000 1.000
#> 2 66.667 0.520
#> 3 66.667 0.491
#> 4 66.667 0.323
#>
#> PCCs were calculated for pairwise ordinal relationships using a difference threshold of 0.
#> Chance-values were calculated from 1000 random orderings.