plot.cv.FuncompCGL: plot the cross-validation curve produced by cv.FuncompCGL

Description Usage Arguments Details

Description

Plots the cross-validation curve for different degree of freedom k, and upper and lower standard deviation curves, as a function of the lambda values used.

Usage

1
2
3
## S3 method for class 'cv.FuncompCGL'
plot(x, xlab = c("log", "lambda"), trim = FALSE,
  k_list, ...)

Arguments

x

fitted "cv.FuncompCGL".

xlab

Either plot against log(lambda) (default) or lambda.

trim

Logic value, determining use trimmed result stored in cv.FumcompCGL or not. Default

k_list

a vector, determining result of which k (degree freedom) to plot. If not provided, cross-validation curve for k that associate with lambda.min (blue) and lambda.1se (red) are plotted.

...

Other graphical parameters to plot

Details

A plot is prodoced, and nothing is returned.


jiji6454/Rpac_compReg documentation built on May 31, 2019, 5:01 a.m.