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
I think there's a little buglet in the code to compare intervals used in a PAMM and in newdata supplied for prediction. In warn_about_new_time_points.pamm we have:
Thanks Gavin, will fix/merge soon.
I was thinking of removing the warning anyway. Once you estimated the baselinehazard, I don't see a reason to then not allow predictions at any time point (or use a finer/different grid compared to the grid used at estimation stage), as we can evaluate the smooth function at any time point.
I think there's a little buglet in the code to compare intervals used in a PAMM and in
newdata
supplied for prediction. Inwarn_about_new_time_points.pamm
we have:pammtools/R/warnings.R
Line 44 in ab4caea
In the above, the code is comparing
int_new
which is the result ofpammtools/R/warnings.R
Line 43 in ab4caea
which has extracted the unique event times
tend
innewdata
. But it's comparing with the output fromint_info(object)
, computed in L41pammtools/R/warnings.R
Line 41 in ab4caea
which is a data frame.
Shouldn't line 44 therefore be
to compare the
interval
column used in the model with the ones supplied innewdata
?The text was updated successfully, but these errors were encountered: