summaryrefslogtreecommitdiff
path: root/man/rsc_cv.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/rsc_cv.Rd')
-rwxr-xr-xman/rsc_cv.Rd4
1 files changed, 1 insertions, 3 deletions
diff --git a/man/rsc_cv.Rd b/man/rsc_cv.Rd
index 3cd2da6..44459ec 100755
--- a/man/rsc_cv.Rd
+++ b/man/rsc_cv.Rd
@@ -184,7 +184,6 @@
\examples{
-\donttest{
## simulate a random sample from a multivariate Cauchy distribution
## note: example in high-dimension are obtained increasing p
set.seed(1)
@@ -197,7 +196,7 @@ colnames(dat) <- paste0("Var", 1:p)
## perform 10-fold cross-validation repeated R=10 times
## note: for multi-core machines experiment with 'ncores'
set.seed(2)
-a <- rsc_cv(x = dat, R = 10, K = 10)
+a <- rsc_cv(x = dat, R = 10, K = 10, ncores = 1)
a
@@ -224,5 +223,4 @@ d
e <- rsc(cv = a, threshold = 0.5)
e
}
-}