You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(randomForestSRC)
#> #> randomForestSRC 2.9.3 #> #> Type rfsrc.news() to see new features, changes, and bug fixes. #>
library(survival)
library(pec)
#> Loading required package: prodlimrfsrce_mod<- rfsrc(Surv(time, status) ~age+ph.ecog, data=lung, ntree=1000)
# The predict function generates an object with classes "rfsrc", "predict", and "surv". It is unclear what is being predicted:# time?
str(predict(rfsrce_mod, lung)$predicted)
#> num [1:227, 1:2] 163 145 344 170 328 ...#> - attr(*, "dimnames")=List of 2#> ..$ : NULL#> ..$ : chr [1:2] "event.1" "event.2"
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Created on 2020-08-06 by the reprex package (v0.3.0)
randomForestSRC
Created on 2020-08-06 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: