Learn R Programming

clubpro (version 0.6.1)

compare: Compare models.

Description

Compare models.

Usage

compare(m1, m2)

Value

an object of type "clubprocomparison"

Arguments

m1

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

m2

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

Details

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

Examples

Run this code
m1 <- club(width ~ location, jellyfish)
m2 <- club(length ~ location, jellyfish)
compare(m1, m2)

Run the code above in your browser using DataLab