Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix survFit() for single row in newdata #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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