Deprecate new_data
arg for reverse_km
censoring model
#965
Labels
upkeep
maintenance, infrastructure, and similar
new_data
arg for reverse_km
censoring model
#965
The
predict()
method forcensoring_model_reverse_km
models has anew_data
argument which is passed on to the predict method for prodlim objects. The definition for this arg from prodlim:However, the right hand side for
censoring_model_reverse_km
models is always just1
, no covariates:parsnip/R/survival-censoring-model.R
Line 27 in 2a8f92e
Because of that, the argument doesn't do anything, you can even feed it a totally unrelated dataset and it won't complain. Do we anticipate adding covariates to that reverse KM anytime soon/ever? If not, can we deprecate that arg to reduce complexity we are not even making use of?
Created on 2023-05-11 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: