Learn R Programming

SODC (version 1.0)

clust.kappa: Agreement of Two Subset

Description

To calculate Cohen's kappa coefficients between two subsets.

Usage

clust.kappa(clus1, clus2, p)

Arguments

clus1
The first subset
clus2
The second subset
p
The total number of varialbes of a dataset

Value

ka The Kappa coefficient of the two subsets

Details

In dimension reduction problems, kappa's coefficients can be used as an criteria to select tuning parameters. In detail, use subset to indicate the selected variables index after applying dimension redcution technoloty on one dataset, we can calculate Cohen's kappa coefficients between two selected variable index subsets corresponding two dataset samples.