Skip to content

Conversation

hfrick
Copy link

@hfrick hfrick commented May 11, 2022

closes #117

library(mboost)
#> Loading required package: parallel
#> Loading required package: stabs
library(survival)

mod <- blackboost(Surv(time, status) ~ age + ph.ecog, 
                  data = lung, 
                  family = CoxPH())
sF_1 <- survFit(mod, lung[1,])

Created on 2022-05-11 by the reprex package (v2.0.1)

@hofnerb hofnerb requested a review from thothorn May 12, 2022 17:55
@hbaniecki
Copy link

I am looking forward to seeing this merged 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

survFit() fails for single row in newdata
3 participants