fn_elasticnet: Computes an elastic net model

Description Usage Arguments Value

View source: R/fn_elastic_net.R

Description

Computes an elastic net model

Usage

1
fn_elasticnet(x, y, alpha.step = 0.1)

Arguments

x

miRNA expression matrix

y

gene expression vector

alpha.step

Step size for alpha, the tuning parameter for elastic net.

Value

The best model, i.e. the one for which the selected alpha yielded the smallest residual sum of squares error


SPONGE documentation built on Nov. 8, 2020, 5:39 p.m.