generateLambdaPlot: Plot CV Error As A Function of Lambda

View source: R/melonnpan_utilities.R

generateLambdaPlotR Documentation

Plot CV Error As A Function of Lambda

Description

This function plots the CV error as a function of lambda from Elastic Net Training.

Usage

generateLambdaPlot(CV, x, alpha, outputDirectory)

Arguments

CV

A glmnet object.

x

Index of glmnet fit.

alpha

Optimal alpha selected.

outputDirectory

Name of the desired output directory. Default is the current directory.


biobakery/melonnpan documentation built on March 26, 2024, 11:42 p.m.