Learn R Programming

clubpro (version 0.6.1)

cval: Chance value.

Description

Chance value.

Usage

cval(m)

Value

a numeric value.

Arguments

m

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

Details

Compute the chance that randomly reordered data results in a percentage of correctly classified observations at least as high as the observed data.

Examples

Run this code
mod <- club(rate ~ dose, data = caffeine)
cval(mod)

Run the code above in your browser using DataLab