Skip to contents

Compare models.

Usage

compare(m1, m2)

Arguments

m1

an object of class "clubprofit" produced by club()

m2

an object of class "clubprofit" produced by club()

Value

an object of type "clubprocomparison"

Details

Compare the PCC of two clubprofit models and compute the chance-value of the difference.

Examples

m1 <- club(width ~ location, jellyfish)
m2 <- club(length ~ location, jellyfish)
compare(m1, m2)
#> ********** Model Comparison **********
#> Absolute PCC difference:  8.7 
#> Minimum random PCC difference:  -23.91 
#> Maximum random PCC difference:  21.74 
#> Chance-value:  0.2