getCoefficients: getCoefficients Get the coefficents from the house holder...

Description Usage Arguments Value

View source: R/hhcartr_getCoefficients.R

Description

This function getCoefficients() returns the coefficients from the appropriate column of the house holder matrix for the selected internal node or for all internal nodes if no parameter was specified.

Usage

1
getCoefficients(n_node, fold)

Arguments

n_node

The internal node number the user wants coefficients for. If no node number is supplied then coefficients for all internal nodes of the current tree are returned.

fold

The fold of the corresponding tree we want coefficients for.

Value

A dataframe containing the requested information. NA is returned if the requested node was either not found or was a leaf node.


hhcartr documentation built on July 2, 2021, 9:06 a.m.