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
The following code throws Error: Each of the survfit() objects must have class 'survfit' only. Multi-state models are not supported by this function. but using survfit instead of survfit2 the add_nevent() function works as expected. In most cases, it would be nice to create one model using survfit2 for KM plots using ggsurvfit and then passing the same model to the table functions (instead of switching to survfit for the tables.
The following code throws
Error: Each of the survfit() objects must have class 'survfit' only. Multi-state models are not supported by this function.
but usingsurvfit
instead ofsurvfit2
theadd_nevent()
function works as expected. In most cases, it would be nice to create one model usingsurvfit2
for KM plots usingggsurvfit
and then passing the same model to the table functions (instead of switching tosurvfit
for the tables.The text was updated successfully, but these errors were encountered: