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
Hmmmm, we could say that survfit2() does accept these kinds of names. But the error you're seeing is what happens when we pass those args to survival::survfit() 😉
Are you thinking we could parse the formula looking for these names before passing to survival::survfit() and give a warning before the error message appears?
I always wished
survfit
objects accepted non-syntactic names. Maybe something worth adding tosurvfit2
?Even fixing the error message could be nice, as it is quite cryptic:
Error in `[.data.frame`(mf, ll) : undefined columns selected
The text was updated successfully, but these errors were encountered: