Plot Cross-Validation Scores for ReMPCA v-direction
plot_cv_v.Rd
This function creates a grid of plots showing cross-validation (CV) scores for each principal component (PC) and functional variable based on different values of the gamma penalty parameter in the v-direction. The red dashed line indicates the 1-SE rule threshold, and the selected optimal gamma is highlighted.
Arguments
- ReMPCA_obj
A list object returned by ReMPCA containing
CVResultsV
andOptimalGammaV
.- show_se
Logical. If TRUE, adds standard error bars (±1 SE) to each point. Default is TRUE.
- ...
Additional arguments passed to the
plot()
function.