[Analogue-commits] r265 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Apr 20 16:12:38 CEST 2012
Author: gsimpson
Date: 2012-04-20 16:12:38 +0200 (Fri, 20 Apr 2012)
New Revision: 265
Modified:
pkg/man/predict.wa.Rd
Log:
run the example and set a seed
Modified: pkg/man/predict.wa.Rd
===================================================================
--- pkg/man/predict.wa.Rd 2012-04-18 20:30:39 UTC (rev 264)
+++ pkg/man/predict.wa.Rd 2012-04-20 14:12:38 UTC (rev 265)
@@ -48,14 +48,9 @@
Transactions of the Royal Society of London; Series B}, \strong{327};
263--278.}
\author{Gavin L. Simpson and Jari Oksanen (\eqn{k}-fold CV)}
-%\note{ ~~further notes~~
-%
-% ~Make other sections like Warning with \section{Warning }{....} ~
-%}
\seealso{\code{\link{wa}}, \code{\link{predict.mat}},
\code{\link{performance}}, \code{\link{reconPlot}}.}
\examples{
-\dontrun{
## Imbrie and Kipp
data(ImbrieKipp)
data(SumSST)
@@ -68,6 +63,7 @@
V12.122 <- V12.122 / 100
## predict summer sea-surface temperature for V12.122 core
+set.seed(2)
v12.pred <- predict(ik.wa, V12.122, CV = "bootstrap", n.boot = 100)
## draw the fitted reconstruction
@@ -75,7 +71,6 @@
## extract the model performance stats
performance(v12.pred)
-}
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
More information about the Analogue-commits
mailing list