e_coeff_landa {predictoR}R Documentation

Coefficients and lambda

Description

Plot the coefficients and selected lambda of a glmnet model.

Usage

e_coeff_landa(model, category, sel.lambda = NULL, label = "Log Lambda")

Arguments

model

a glmnet model.

category

a category of the variable to be predicted.

sel.lambda

the selected lambda.

label

a character specifying the title to use on selected lambda tooltip.

Value

echarts4r plot

Author(s)

Joseline Quiros <joseline.quiros@promidat.com>

Examples

modelo <- traineR::train.glmnet(Species~., iris)
e_coeff_landa(modelo, 'setosa', log(modelo$lambda[1]))


[Package predictoR version 3.0.10 Index]