fn_elasticnet: Computes an elastic net model

View source: R/fn_elastic_net.R

fn_elasticnetR Documentation

Computes an elastic net model

Description

Computes an elastic net model

Usage

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


mlist/SPONGE documentation built on Feb. 12, 2023, 1:22 a.m.