[Power-commits] r37 - pkg/sse/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 22 14:03:16 CEST 2019
Author: thofab
Date: 2019-08-22 14:03:16 +0200 (Thu, 22 Aug 2019)
New Revision: 37
Modified:
pkg/sse/man/refine.Rd
Log:
speed up example by putting back dontrun (was >5s also with factor = 2)
Modified: pkg/sse/man/refine.Rd
===================================================================
--- pkg/sse/man/refine.Rd 2019-08-22 11:50:58 UTC (rev 36)
+++ pkg/sse/man/refine.Rd 2019-08-22 12:03:16 UTC (rev 37)
@@ -24,6 +24,7 @@
\linkS4class{power} was generated using a resamling approach.}
\examples{
+\donttest{ ## takes quite some time
## defining the range of n and theta to be evaluated
psi <- powPar(theta = seq(from = 0.5, to = 1.5, by = 0.1),
n = seq(from = 20, to = 60, by = 2))
@@ -37,19 +38,15 @@
## evaluating the power-function for all combinations of n and theta
-calc <- powCalc(psi, powFun, n.iter = 100)
+calc <- powCalc(psi, powFun, n.iter = 10)
## adding example at theta of 1 and power of 0.9
pow <- powEx(calc, theta = 1, power = 0.9)
## another 900 (= 1000 - 100) iterations
-\donttest{ ## takes quite some time
refine(pow)
}
-\dontshow{## less realistic but fast
-refine(pow, factor = 2)
}
-}
\keyword{methods}
More information about the Power-commits
mailing list