plot.coefficient: Plot of coefficients

Description Usage Arguments Examples

Description

Plot of the coefficients of a step

Usage

1
2
  plot.coefficient(x, step, ylab = "coefficients",
    xlab = "variables", ...)

Arguments

x

A LarsPath object.

step

The step at which you want to plot the coefficients.

ylab

Name of the y axis.

xlab

Name of the x axis.

...

Other plot arguments.

Examples

1
2
3
dataset=MPA.simul(50,10000,0.4,10,50,matrix(c(0.1,0.8,0.02,0.02),nrow=2))
result=MPA.fusion(dataset$data,dataset$response)
plot.coefficient(result,45) #plot coefficients at the step 45

MPAlars documentation built on May 2, 2019, 5:47 p.m.