Skip to contents

Print details of a hypothesis

Usage

# S3 method for opahypothesis
print(x, ...)

Arguments

x

an object of type "opaHypothesis"

...

ignored

Value

No return value, called for side-effects.

Examples

h1 <- hypothesis(c(2, 1, 3, 4), type = "pairwise")
print(h1)
#> ********** Ordinal Hypothesis **********
#> Hypothesis type: pairwise 
#> Raw hypothesis:
#>  2 1 3 4 
#> Ordinal relations:
#>  -1 1 1 1 1 1 
#> N conditions: 4 
#> N hypothesised ordinal relations: 6 
#> N hypothesised increases: 5 
#> N hypothesised decreases: 1 
#> N hypothesised equalities: 0 
h2 <- hypothesis(c(2, 1, 3, 4), type = "adjacent")
print(h2)
#> ********** Ordinal Hypothesis **********
#> Hypothesis type: adjacent 
#> Raw hypothesis:
#>  2 1 3 4 
#> Ordinal relations:
#>  -1 1 1 
#> N conditions: 4 
#> N hypothesised ordinal relations: 3 
#> N hypothesised increases: 2 
#> N hypothesised decreases: 1 
#> N hypothesised equalities: 0