Learn R Programming

HDPenReg (version 0.94.9)

plot.HDcvlars: plot cross validation mean square error

Description

plot cross validation mean square error

Usage

# S3 method for HDcvlars
plot(x, ...)

Value

cross validation mean square error plot

Arguments

x

Output from HDcvlars function.

...

graphical parameters

Author

Quentin Grimonprez

Examples

Run this code
dataset <- simul(50, 10000, 0.4, 10, 50, matrix(c(0.1, 0.8, 0.02, 0.02), nrow = 2))
result <- HDcvlars(dataset$data, dataset$response, 5)
plot(result)

Run the code above in your browser using DataLab