Skip to content

Commit a60677b

Browse files
author
sbrockhaus
committed
Remove package part from links in doc strings, they prevent CRAN submission
1 parent 6140f43 commit a60677b

File tree

6 files changed

+45
-31
lines changed

6 files changed

+45
-31
lines changed

R/FDboost.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,8 @@
178178
#' \code{\link{plot.FDboost}} methods are available.
179179
#' The methods of \code{\link{mboost}} are available as well,
180180
#' e.g., \code{\link[mboost:methods]{extract}}.
181-
#'
182181
#' The \code{FDboost}-object is a named list containing:
183-
#' \item{...}{all elements of an \code{mboost}-object
182+
#' \item{...}{all elements of an \code{mboost}-object}
184183
#' \item{yname}{the name of the response}
185184
#' \item{ydim}{dimension of the response matrix, if the response is represented as such}
186185
#' \item{yind}{the observation (time-)points of the response, i.e. the evaluation points,

R/FDboostLSS.R

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,29 +170,26 @@ FDboostLSS <- function(formula, timeformula, data = list(), families = GaussianL
170170
#' defaults to 25 bootstrap samples, resampling whole curves
171171
#' @param grid defaults to a grid up to the current number of boosting iterations.
172172
#' The default generates the grid according to the defaults of
173-
#' \code{\link[gamboostLSS:cvrisk.mboostLSS]{cvrisk.mboostLSS}} and
174-
#' \code{\link[gamboostLSS:cvrisk.mboostLSS]{cvrisk.nc_mboostLSS}} for
175-
#' models with cyclic or noncyclic fitting.
176-
#' @param papply (parallel) apply function, defaults to \code{\link[parallel]{mclapply}},
177-
#' see \code{\link[gamboostLSS:cvrisk.mboostLSS]{cvrisk.mboostLSS}} for details.
173+
#' \code{\link{cvrisk.mboostLSS}} which are different for models with cyclic or noncyclic fitting.
174+
#' @param papply (parallel) apply function, defaults to \code{\link{mclapply}},
175+
#' see \code{\link{cvrisk.mboostLSS}} for details.
178176
#' @param trace print status information during cross-validation? Defaults to \code{TRUE}.
179177
#' @param fun if \code{fun} is \code{NULL}, the out-of-sample risk is returned.
180178
#' \code{fun}, as a function of \code{object},
181179
#' may extract any other characteristic of the cross-validated models. These are returned as is.
182-
#' @param ... additional arguments passed to \code{\link[parallel]{mclapply}}.
180+
#' @param ... additional arguments passed to \code{\link{mclapply}}.
183181
#'
184182
#' @details The function \code{cvrisk.FDboostLSS} is a wrapper for
185-
#' \code{\link[gamboostLSS:cvrisk.mboostLSS]{cvrisk.mboostLSS}} in
186-
#' package \code{gamboostLSS}.
183+
#' \code{cvrisk.mboostLSS} in package \code{gamboostLSS}.
187184
#' It overrides the default for the folds, so that the folds are sampled on the level of curves
188185
#' (not on the level of single observations, which does not make sense for functional response).
189186
#'
190187
#' @return An object of class \code{cvriskLSS} (when \code{fun} was not specified),
191188
#' basically a matrix containing estimates of the empirical risk for a varying number
192189
#' of bootstrap iterations. \code{plot} and \code{print} methods are available as well as an
193-
#' \code{mstop} method, see \code{\link[gamboostLSS:cvrisk.mboostLSS]{cvrisk.mboostLSS}}.
190+
#' \code{mstop} method, see \code{\link{cvrisk.mboostLSS}}.
194191
#'
195-
#' @seealso \code{\link[gamboostLSS:cvrisk.mboostLSS]{cvrisk.mboostLSS}} in
192+
#' @seealso \code{\link{cvrisk.mboostLSS}} in
196193
#' package \code{gamboostLSS}.
197194
#'
198195
#' @export

R/crossvalidation.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#' @param showProgress logical, defaults to \code{TRUE}.
1111
#' @param compress logical, defaults to \code{FALSE}. Only used to force a meaningful
1212
#' behaviour of \code{applyFolds} with hmatrix objects when using nested resampling.
13-
#' @param papply (parallel) apply function, defaults to \code{\link[parallel]{mclapply}},
14-
#' see \code{\link[mboost]{cvrisk}} for details.
13+
#' @param papply (parallel) apply function, defaults to \code{\link{mclapply}} from
14+
#' R package \code{parallel}, see \code{\link[mboost]{cvrisk}} for details.
1515
#' @param fun if \code{fun} is \code{NULL}, the out-of-bag risk is returned.
1616
#' \code{fun}, as a function of \code{object},
1717
#' may extract any other characteristic of the cross-validated models. These are returned as is.
@@ -23,8 +23,8 @@
2323
#' @param numInt only exists in \code{applyFolds}; the scheme for numerical integration,
2424
#' see \code{numInt} in \code{\link{FDboost}}.
2525
#' @param mc.preschedule Defaults to \code{FALSE}. Preschedule tasks if they are parallelized using \code{mclapply}.
26-
#' For details see \code{\link[parallel]{mclapply}}.
27-
#' @param ... further arguments passed to \code{\link[parallel]{mclapply}}
26+
#' For details see \code{\link{mclapply}}.
27+
#' @param ... further arguments passed to the (parallel) apply function.
2828
#'
2929
#' @param id the id-vector as integers 1, 2, ... specifying which observations belong to the same curve,
3030
#' deprecated in \code{cvMa()}.

man/FDboost.Rd

Lines changed: 22 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/applyFolds.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cvrisk.FDboostLSS.Rd

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)