View source: R/model_selection.R
CV | R Documentation |
Bayesian CV
CV(SIMP.fit.full, Y, X1C, X1D, X2, dx, dy, K_CV, n.iter, correction = FALSE)
SIMP.fit.full |
The output of |
Y |
Response matrix. Must have the same number of rows as |
X1C |
Design matrix of the continuous part of the predictors of interest.
Must have the same number of rows as |
X1D |
Design matrix of the discrete part of the predictors of interest.
Must have the same number of rows as |
X2 |
Design matrix of the nuisance predictors. Must have the same number of rows as |
dx |
Partial predictor envelope dimension. Must be an integer between 0 and |
dy |
Partial response envelope dimension. Must be an integer between 0 and |
K_CV |
Fold for CV |
n.iter |
Number of Markov chain iterations to run in each chains, for the fitting in CV. *Includes burn-in*. |
correction |
Whether correction should be applied. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.