summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLuca Coraggio <luca.coraggio@unina.it>2020-07-24 13:00:07 +0000
committercran-robot <csardi.gabor+cran@gmail.com>2020-07-24 13:00:07 +0000
commit96a51069262ac58c6e8fefa9b40bd534d6f0e2e3 (patch)
tree6fac931e6891268b41345ef12957df2ca44f52cd /man
parent511e3ca9e5235e018f772693907d9ec10002b02a (diff)
version 1.2
Diffstat (limited to 'man')
-rwxr-xr-xman/plot.cv_rsc.Rd2
-rwxr-xr-xman/rsc.Rd4
-rwxr-xr-xman/rsc_cv.Rd4
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
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
}
-}