Learn R Programming

MADMMplasso (version 1.0.1)

tree_parms: Fit the hierarchical tree structure

Description

Fit the hierarchical tree structure

Usage

tree_parms(y = y, h = 0.7)

Value

A trained tree with the following components: Tree: the tree matrix stored in 1s and 0s Tw: tree weights associated with the tree matrix. Each weight corresponds to a row in the tree matrix. h_clust: Summary of the hclust call y.colnames: names of the response

Arguments

y

N by D matrix of response variables

h

is the tree cut off