getaggr {TSLA}R Documentation

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)

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.

Value

A data.frame of the aggregated feature.

dataset

aggregated features.


[Package TSLA version 0.1.2 Index]