Skip to content

Commit dc3b192

Browse files
committed
add ref
1 parent 2dbbce6 commit dc3b192

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

R/PipeOpTaskSurvClassif.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' @description
66
#' Transform [TaskSurv] to [TaskClassif][mlr3::TaskClassif] by creating multiple
77
#' interval observations for each subject based on `cut`, with a `ped_status` variable
8-
#' indicating whether an event occurred in each interval. (add one ref?)
8+
#' indicating whether an event occurred in each interval.
99
#'
1010
#' @section Input and Output Channels:
1111
#' Input and output channels are inherited from [PipeOp][mlr3pipelines::PipeOp].
@@ -43,6 +43,10 @@
4343
#' po$predict(list(task))[[1]]
4444
#' }
4545
#' }
46+
#'
47+
#' @references
48+
#' `r format_bib("tutz_2016")`
49+
#'
4650
#' @family PipeOps
4751
#' @family Transformation PipeOps
4852
#' @export

R/bibentries.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,5 +674,14 @@ bibentries = c( # nolint start
674674
pages = "515--526",
675675
doi = "10.1093/biomet/81.3.515",
676676
url = "https://doi.org/10.1093/biomet/81.3.515"
677+
),
678+
tutz_2016 = bibentry("book",
679+
author = "Tutz, Gerhard and Schmid, Matthias",
680+
title = "Modeling Discrete Time-to-Event Data",
681+
year = "2016",
682+
publisher = "Springer International Publishing",
683+
series = "Springer Series in Statistics",
684+
isbn = "978-3-319-28156-8 978-3-319-28158-2",
685+
url = "http://link.springer.com/10.1007/978-3-319-28158-2"
677686
)
678687
) # nolint end

man/mlr_pipeops_trafotask_survclassif.Rd

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

0 commit comments

Comments
 (0)