singboost.plot {gfboost}R Documentation

Plot function for the SingBoost coefficient paths

Description

Plot function for the SingBoost coefficient paths

Usage

singboost.plot(mod, M, m_iter, subnames = FALSE)

Arguments

mod

singboost object.

M

An integer between 2 and m_iter. Indicates that in every M-th iteration, a singular iteration will be performed. Default is 10.

m_iter

Number of SingBoost iterations. Default is 100.

subnames

Use it only if the variable names are of the form ”letter plus number”. Better just ignore it.

Value

Nothing. Plots SingBoost coefficient paths

Examples

{glmres<-glmboost(Sepal.Length~.,iris)
glmres
attributes(varimp(glmres))$self
attributes(varimp(glmres))$var
firis<-as.formula(Sepal.Length~.)
Xiris<-model.matrix(firis,iris)
Diris<-data.frame(Xiris[,-1],iris$Sepal.Length)
plot(glmres)
singpath<-path.singboost(Diris)
singboost.plot(singpath,10,100,subnames=FALSE)}


[Package gfboost version 0.1.1 Index]