Learn R Programming

TSLA (version 0.1.2)

getaggr: Generate aggregated features

Description

Function that generates aggregated features based on the TSLA output.

Usage

getaggr(TSLA.object, X_2, X_2.org, lambda.index, alpha.index)

Value

A data.frame of the aggregated feature.

dataset

aggregated features.

Arguments

TSLA.object

A fit output from TSLA.fit(), or the TSLA.fit object in cv.TSLA().

X_2

Expanded design matrix in matrix form.

X_2.org

Original design matrix in matrix form.

lambda.index

Index of the \(\lambda\) value selected.

alpha.index

Index of the \(\alpha\) value selected. The \(\alpha\) is the tuning parameter for generalized lasso penalty.