From 96a51069262ac58c6e8fefa9b40bd534d6f0e2e3 Mon Sep 17 00:00:00 2001 From: Luca Coraggio Date: Fri, 24 Jul 2020 13:00:07 +0000 Subject: version 1.2 --- man/plot.cv_rsc.Rd | 2 +- man/rsc.Rd | 4 +--- man/rsc_cv.Rd | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'man') diff --git a/man/plot.cv_rsc.Rd b/man/plot.cv_rsc.Rd index 0d7b2c2..030a53f 100755 --- a/man/plot.cv_rsc.Rd +++ b/man/plot.cv_rsc.Rd @@ -72,7 +72,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 ## plot the cross-validation estimates 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 } -} 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 } -} -- cgit v1.2.3