diff --git a/R/cuminc.R b/R/cuminc.R index 7baf870..6f98f91 100644 --- a/R/cuminc.R +++ b/R/cuminc.R @@ -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 @@ -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) diff --git a/man/Cuminc.Rd b/man/Cuminc.Rd index cbac7fc..d25800d 100644 --- a/man/Cuminc.Rd +++ b/man/Cuminc.Rd @@ -6,7 +6,7 @@ \title{Calculate nonparametric cumulative incidence functions and associated standard errors} \usage{ -Cuminc(time, status, data, group, na.status = c("remove", "extra")) +Cuminc(time, status, data, group, na.status = c("remove", "extra"), ...) } \arguments{ \item{time}{Either 1) a numeric vector containing the failure times or 2) a @@ -27,6 +27,10 @@ level of \code{group}. If missing no groups are considered} 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} + +\item{...}{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).} } \value{ An object of class \code{"Cuminc"}, which is a data frame containing