Skip to content

Commit f7fb63a

Browse files
committed
remove donttest mod4 example in md, documented in #24 now
1 parent 6b663c5 commit f7fb63a

2 files changed

Lines changed: 0 additions & 26 deletions

File tree

R/FDboost.R

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -398,19 +398,6 @@
398398
#' ## plot(mod4)
399399
#' ## plotPredicted(mod4, lwdPred = 2)
400400
#'
401-
#' \donttest{
402-
#' ## Find optimal mstop, small grid/low B for a fast example
403-
#' set.seed(123)
404-
#' folds4 <- cv(rep(1, length(unique(mod4$id))), B = 3)
405-
#' appl4 <- applyFolds(mod4, folds = folds4, grid = 1:50)
406-
#' ## val4 <- validateFDboost(mod4, folds = folds4, grid = 1:50)
407-
#'
408-
#' set.seed(123)
409-
#' folds4long <- cvLong(id = mod4$id, weights = model.weights(mod4), B = 3)
410-
#' cvm4 <- cvrisk(mod4, folds = folds4long, grid = 1:50)
411-
#' mstop(cvm4)
412-
#' }
413-
#'
414401
#' ## Be careful if you want to predict newdata with irregular response,
415402
#' ## as the argument index is not considered in the prediction of newdata.
416403
#' ## Thus, all covariates have to be repeated according to the number of observations

man/FDboost.Rd

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

0 commit comments

Comments
 (0)