Description Usage Arguments Value

Performs repeated cross-validatiodn and represents results in a plot

1 2 3 4 5 6 7 8 9 10 11 12 13 |

`X_npls` |
A three-way array containing the predictors. |

`Y_npls` |
A matrix containing the response. |

`ncomp` |
A vector with the different number of components to test |

`samples` |
Number of samples for performing random search in continuous thresholding |

`keepJ` |
A vector with the different number of selected variables to test in discrete thresholding |

`keepK` |
A vector with the different number of selected 'times' to test in discrete thresholding |

`nfold` |
Number of folds for the cross-validation |

`times` |
Number of repetitions of the cross-validation |

`parallel` |
Should the computations be performed in parallel? Set up strategy first with |

`method` |
Select between sNPLS, sNPLS-SR or sNPLS-VIP |

`...` |
Further arguments passed to cv_snpls |

A density plot with the results of the cross-validation and an (invisible) `data.frame`

with these results

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.