Closed smouksassi closed 2 years ago
Did you ever resolve this? I am getting the same error, but only for the cumulative effects parameterization of my model.
I had to hack the internals of JM for my particular model did not really see additional developments since then (other the internal namings of survfit obj that I submitted in another issue). I rely and like JM very much @drizopoulos how can we help you have done amazing tools for mixed and joint models!
I have a joint model with the form
where the events come much later in the time period so the default 7 knots will not work and I am setting them manually when I try to get a roc :
I get
Warning messages: In wk * rep(P, each = 7) : longer object length is not a multiple of shorter object length
I think it is realted to this where the n = 7 default knots is hard coded:
https://github.com/drizopoulos/JM/blob/05bfde1addba3138258cc25bbbb661b4032e6b24/R/log.posterior.b.R#L62