diff options
| author | Luca Coraggio <luca.coraggio@unina.it> | 2020-07-24 13:00:07 +0000 |
|---|---|---|
| committer | cran-robot <csardi.gabor+cran@gmail.com> | 2020-07-24 13:00:07 +0000 |
| commit | 96a51069262ac58c6e8fefa9b40bd534d6f0e2e3 (patch) | |
| tree | 6fac931e6891268b41345ef12957df2ca44f52cd /man | |
| parent | 511e3ca9e5235e018f772693907d9ec10002b02a (diff) | |
version 1.2
Diffstat (limited to 'man')
| -rwxr-xr-x | man/plot.cv_rsc.Rd | 2 | ||||
| -rwxr-xr-x | man/rsc.Rd | 4 | ||||
| -rwxr-xr-x | man/rsc_cv.Rd | 4 |
3 files changed, 3 insertions, 7 deletions
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 @@ -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 } -} |
