summaryrefslogtreecommitdiff
path: root/man/rsc.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/rsc.Rd')
-rwxr-xr-xman/rsc.Rd4
1 files changed, 1 insertions, 3 deletions
diff --git a/man/rsc.Rd b/man/rsc.Rd
index cd252a6..6371af3 100755
--- a/man/rsc.Rd
+++ b/man/rsc.Rd
@@ -84,7 +84,6 @@
\examples{
-\donttest{
## simulate a random sample from a multivariate Cauchy distribution
## note: example in high-dimension are obtained increasing p
set.seed(1)
@@ -97,7 +96,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
## obtain the RSC matrix with "minimum" flagged solution
@@ -114,5 +113,4 @@ d
e <- rsc(cv = a, threshold = 0.5)
e
}
-}