If I want to predict event probabilities for a fitted model with customized times (e.g. times=seq(t0, 100, length.out=10)), it yields to the error:
Error in colCumsums(H[index == i, ]) : Argument 'dim.' must be an integer vector of length two.
Without the times-argument, the predict()-function works. It's independent from the number of longitudinal models I used for joint modeling.
Do you have any idea how to solve this issue?
If I want to predict event probabilities for a fitted model with customized times (e.g.
times=seq(t0, 100, length.out=10)
), it yields to the error:Error in colCumsums(H[index == i, ]) : Argument 'dim.' must be an integer vector of length two.
Without the times-argument, the predict()-function works. It's independent from the number of longitudinal models I used for joint modeling. Do you have any idea how to solve this issue?