randxval | R Documentation |
Functions and classes to manage outputs of two-fold
cross-validation for one (class randxval
) or several (class
krandxval
) statistics
as.krandxval(RMSEc, RMSEv, quantiles = c(0.25, 0.75), names = colnames(RMSEc), call = match.call()) ## S3 method for class 'krandxval' print(x, ...) as.randxval(RMSEc, RMSEv, quantiles = c(0.25, 0.75), call = match.call()) ## S3 method for class 'randxval' print(x, ...)
RMSEc |
a vector (class |
RMSEv |
a vector (class |
quantiles |
a vector indicating the lower and upper quantiles to compute |
names |
a vector of names for the statistics |
call |
the matching call |
x |
an object of class |
... |
other arguments to be passed to methods |
an object of class randxval
or krandxval
Stéphane Dray (stephane.dray@univ-lyon1.fr)
Stone M. (1974) Cross-validatory choice and assessment of statistical predictions. Journal of the Royal Statistical Society, 36, 111-147
testdim.multiblock
## an example corresponding to 10 statistics and 100 repetitions cv <- as.krandxval(RMSEc = matrix(rnorm(1000), nrow = 100), RMSEv = matrix(rnorm(1000, mean = 1), nrow = 100)) cv if(adegraphicsLoaded()) plot(cv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.