Learn R Programming

nda (version 0.3.0)

fs.KMO: KMO-Based Feature Selection

Description

Iteratively removes the indicator with the lowest measure of sampling adequacy until the requested overall KMO is reached.

Usage

fs.KMO(data, min_MSA = 0.5, cor.mtx = FALSE,
       max_iter = ncol(data) - 1L, ...)

Value

Filtered data or correlation matrix. The final KMO result and removed variable names are stored in "KMO" and "removed" attributes.

Arguments

data

Numeric row-level data or a correlation matrix.

min_MSA

Target overall Kaiser-Meyer-Olkin value in [0, 1].

cor.mtx

Treat data as a symmetric correlation matrix.

max_iter

Maximum number of removals.

...

Reserved for backward compatibility.

Examples

Run this code
filtered <- fs.KMO(swiss, min_MSA = 0.6)

Run the code above in your browser using DataLab