Skip to content

Commit

Permalink
Add ... to Cuminc() for backwards compatibility (issues with one of t…
Browse files Browse the repository at this point in the history
…he reverse dependencies)
  • Loading branch information
edbonneville committed Jul 11, 2024
1 parent 1c2c1aa commit 3dfa315
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/cuminc.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
#' indicating whether subjects with missing cause of failure should be removed
#' or whether missing cause of failure should be treated as a separate cause of
#' failure
#' @param ... Allows extra arguments for future extensions, but for now just
#' used for backwards compatibility (e.g. allowing use of defunct \code{failcodes}
#' argument in reverse dependencies).
#'
#' @return An object of class \code{"Cuminc"}, which is a data frame containing
#' the estimated failure-free probabilities and cumulative incidences and their
Expand Down Expand Up @@ -80,7 +83,7 @@
#'
#' @export
`Cuminc` <- function(time, status, data, group,
na.status=c("remove","extra"))
na.status=c("remove","extra"), ...)
{
# Coerce data to data.frame as in msprep()
if (!missing(data)) data <- as.data.frame(data)
Expand Down
6 changes: 5 additions & 1 deletion man/Cuminc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3dfa315

Please sign in to comment.