Open hfrick opened 2 years ago
The pattern to check if all the observations in new_data have missing values and (if necessary) return an NA-filled tibble early should probably be its own function.
new_data
Example: https://github.com/tidymodels/censored/blob/1a891a74be4124da28bcb1ba65fe5997b765bea4/R/proportional_hazards-survival.R#L132-L137
The pattern to check if all the observations in
new_data
have missing values and (if necessary) return an NA-filled tibble early should probably be its own function.Example: https://github.com/tidymodels/censored/blob/1a891a74be4124da28bcb1ba65fe5997b765bea4/R/proportional_hazards-survival.R#L132-L137