tree_parms: Fit the hierarchical tree structure

View source: R/tree_parms.R

tree_parmsR Documentation

Fit the hierarchical tree structure

Description

Fit the hierarchical tree structure

Usage

tree_parms(y = y, h = 0.7)

Arguments

y

N by D matrix of response variables

h

is the tree cut off

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


MADMMplasso documentation built on April 3, 2025, 10:53 p.m.