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
Thanks very much for all your work on this package. I'm having an issue with trying to predict survival using new data with a model where we don't assume proportional hazards.
I think the problem is that I need to specify a study and a treatment in the aux argument, but I think the function only expects a study name as a string. I'm not sure if it's possible / how to specify a treatment. If I only specify a study then I get the following error:
Error in aux_array[, , (s - 1) * n_aux + (1:n_aux)] <- aux_temp[, , grep(paste0("\\[", :
number of items to replace is not a multiple of replacement length
I've tried specifying a study as e.g., Jackson2019:Len but that gives the error:
Error in `predict()`:
! All elements of `aux` must match the name of an IPD or AgD (arm-based) study in the network, or be a list of distr() distributions.
Hi @dmphillippo,
Thanks very much for all your work on this package. I'm having an issue with trying to predict survival using new data with a model where we don't assume proportional hazards.
I think the problem is that I need to specify a study and a treatment in the
aux
argument, but I think the function only expects a study name as a string. I'm not sure if it's possible / how to specify a treatment. If I only specify a study then I get the following error:I've tried specifying a study as e.g.,
Jackson2019:Len
but that gives the error:As an example with the vignette data:
The text was updated successfully, but these errors were encountered: