Learn R Programming

shock (version 1.0)

thresholdAbsSPath: Detect partitions of variables into blocks.

Description

This function returns a list of partitions of variables based on the sample covariance matrix for several levels of threshold.

Usage

thresholdAbsSPath(expdata)

Arguments

expdata
matrix of data

Value

  • partitionListlist of partitions of variables (vectors) deduced by thresholding the sample covariance matrix
  • lambdaPathlist of threshold parameters

Examples

Run this code
## load data to test 
data(dataTest)

## detect partitions of variables into blocks based on the sample covariance matrix
partitions <- thresholdAbsSPath(dataTest)$partitionList

Run the code above in your browser using DataLab