Skip to content

Commit 021e406

Browse files
author
Torsten Hothorn
committed
url -> doi; speedup
1 parent 5dcb8db commit 021e406

8 files changed

+20
-10
lines changed

man/Family.Rd

+2-2
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ distribution approximation used in Ma and Huang (2005).
309309
Benjamin Hofner, Andreas Mayr, Nikolay Robinzonov and Matthias Schmid
310310
(2014). Model-based Boosting in R: A Hands-on Tutorial Using the R
311311
Package mboost. \emph{Computational Statistics}, \bold{29}, 3--35.\cr
312-
\url{http://dx.doi.org/10.1007/s00180-012-0382-5}
312+
\doi{10.1007/s00180-012-0382-5}
313313
314314
Available as vignette via: \code{vignette(package = "mboost", "mboost_tutorial")}
315315
@@ -320,7 +320,7 @@ distribution approximation used in Ma and Huang (2005).
320320
321321
Weinhold, L., S. Pechlivanis, S. Wahl, P. Hoffmann and M. Schmid (2016) A Statistical Model for the
322322
Analysis of Bounded Response Variables in DNA Methylation Studies.
323-
\emph{BMC Bioinformatics}. 2016; 17: 480. \url{http://dx.doi.org/10.1186/s12859-016-1347-4}
323+
\emph{BMC Bioinformatics}. 2016; 17: 480. \doi{10.1186/s12859-016-1347-4}
324324
}
325325
\seealso{\code{\link{mboost}} for the usage of \code{Family}s. See
326326
\code{\link{boost_family-class}} for objects resulting from a call to \code{Family}. }

man/baselearners.Rd

+11-1
Original file line numberDiff line numberDiff line change
@@ -620,16 +620,20 @@ bl1 \%O\% bl2
620620
bspatial(x1, x2, knots = 12, center = TRUE, df = 1)
621621

622622
mod1 <- gamboost(form1)
623+
\dontrun{
623624
plot(mod1)
625+
}
624626

625627
mod2 <- gamboost(form2)
626628
## automated plot function:
627629
plot(mod2)
628630
## plot sum of linear and smooth effects:
629-
library(lattice)
631+
library("lattice")
630632
df <- expand.grid(x1 = unique(x1), x2 = unique(x2))
631633
df$pred <- predict(mod2, newdata = df)
634+
\dontrun{
632635
levelplot(pred ~ x1 * x2, data = df)
636+
}
633637

634638
## specify radial basis function base-learner for spatial effect
635639
## and use data-adaptive effective range (theta = NULL, see 'args')
@@ -639,13 +643,17 @@ bl1 \%O\% bl2
639643
form4 <- y ~ brad(x1, x2, knots = 50, args = list(theta = 0.4))
640644

641645
mod3 <- gamboost(form3)
646+
\dontrun{
642647
plot(mod3)
648+
}
643649
dim(extract(mod3, what = "design", which = "brad")[[1]])
644650
knots <- attr(extract(mod3, what = "design", which = "brad")[[1]], "knots")
645651

646652
mod4 <- gamboost(form4)
647653
dim(extract(mod4, what = "design", which = "brad")[[1]])
654+
\dontrun{
648655
plot(mod4)
656+
}
649657

650658
### random intercept
651659
id <- factor(rep(1:10, each = 5))
@@ -696,8 +704,10 @@ bl1 \%O\% bl2
696704
for (i in seq(along = levels(z)))
697705
with(nd[nd$z == i,], lines(x, pred_gam, col = z, lty = "dashed"))
698706
### convenience function for plotting
707+
\dontrun{
699708
par(mfrow = c(1,3))
700709
plot(mod_gam)
710+
}
701711

702712

703713
### remove intercept from base-learner

man/cvrisk.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ cv(weights, type = c("bootstrap", "kfold", "subsampling"),
105105
importance of knowing when to stop - a sequential stopping rule for
106106
component-wise gradient boosting. \emph{Methods of Information in
107107
Medicine}, \bold{51}, 178--186. \cr
108-
DOI: \url{http://dx.doi.org/10.3414/ME11-02-0030}
108+
DOI: \doi{10.3414/ME11-02-0030}
109109
110110
}
111111
\seealso{\code{\link{AIC.mboost}} for

man/gamboost.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ gamboost(formula, data = list(), na.action = na.omit, weights = NULL,
107107
Benjamin Hofner, Andreas Mayr, Nikolay Robinzonov and Matthias Schmid
108108
(2014). Model-based Boosting in R: A Hands-on Tutorial Using the R
109109
Package mboost. \emph{Computational Statistics}, \bold{29}, 3--35.\cr
110-
\url{http://dx.doi.org/10.1007/s00180-012-0382-5}
110+
\doi{10.1007/s00180-012-0382-5}
111111

112112
Available as vignette via: \code{vignette(package = "mboost", "mboost_tutorial")}
113113
}

man/glmboost.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
Benjamin Hofner, Andreas Mayr, Nikolay Robinzonov and Matthias Schmid
8181
(2014). Model-based Boosting in R: A Hands-on Tutorial Using the R
8282
Package mboost. \emph{Computational Statistics}, \bold{29}, 3--35.\cr
83-
\url{http://dx.doi.org/10.1007/s00180-012-0382-5}
83+
\doi{10.1007/s00180-012-0382-5}
8484

8585
Available as vignette via: \code{vignette(package = "mboost", "mboost_tutorial")}
8686
}

man/mboost_fit.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ mboost_fit(blg, response, weights = rep(1, NROW(response)), offset = NULL,
9393
Benjamin Hofner, Andreas Mayr, Nikolay Robinzonov and Matthias Schmid
9494
(2014). Model-based Boosting in R: A Hands-on Tutorial Using the R
9595
Package mboost. \emph{Computational Statistics}, \bold{29}, 3--35.\cr
96-
\url{http://dx.doi.org/10.1007/s00180-012-0382-5}
96+
\doi{10.1007/s00180-012-0382-5}
9797

9898
Available as vignette via: \code{vignette(package = "mboost", "mboost_tutorial")}
9999

man/methods.Rd

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ downstream.test(object, ...)
325325
Benjamin Hofner, Andreas Mayr, Nikolay Robinzonov and Matthias Schmid
326326
(2014). Model-based Boosting in R: A Hands-on Tutorial Using the R
327327
Package mboost. \emph{Computational Statistics}, \bold{29}, 3--35.\cr
328-
\url{http://dx.doi.org/10.1007/s00180-012-0382-5}
328+
\doi{10.1007/s00180-012-0382-5}
329329
330330
Clifford M. Hurvich, Jeffrey S. Simonoff and Chih-Ling Tsai (1998),
331331
Smoothing parameter selection in nonparametric regression using
@@ -348,7 +348,7 @@ downstream.test(object, ...)
348348
importance of knowing when to stop - a sequential stopping rule for
349349
component-wise gradient boosting. \emph{Methods of Information in
350350
Medicine}, \bold{51}, 178--186. \cr
351-
DOI: \url{http://dx.doi.org/10.3414/ME11-02-0030}
351+
DOI: \doi{10.3414/ME11-02-0030}
352352
353353
}
354354
\seealso{

man/plot.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
Benjamin Hofner, Andreas Mayr, Nikolay Robinzonov and Matthias Schmid
115115
(2014). Model-based Boosting in R: A Hands-on Tutorial Using the R
116116
Package mboost. \emph{Computational Statistics}, \bold{29}, 3--35.\cr
117-
\url{http://dx.doi.org/10.1007/s00180-012-0382-5}
117+
\doi{10.1007/s00180-012-0382-5}
118118
}
119119
\seealso{
120120
\code{\link{mboost_methods}} for further methods.

0 commit comments

Comments
 (0)