adibender/pam

make_newdata warning even if specified time correct

Closed this issue · 2 comments

make_newdata warns about start/end points no used for original data, although values contained in original ped data.

int_df <- split_data(Surv(time, status)~., data.frame(time=1:2, status=c(0,1)), id="id")
make_newdata(int_df, tend=1)

... in your example, int_df actually doesn't contain tend = 1 😏

still a valid criticism....

oops, supposed to be tend=2, sry.
Thx for the fix!