0

I am running a joint model in R using the JM package. I have been receiving an error when I ran this code:

*jointFit<- jointModel(lmeFit, coxFit, timeVar="mesure", method='piecewise-PH-aGH")*

The errror is:

Error in jointFit<- jointModel(lmeFit, coxFit, timeVar="mesure", method='piecewise-PH-aGH"): sample sizes in the longitudinal and event processes differ; maybe you forgot the cluster() argument.

starball
  • 20,030
  • 7
  • 43
  • 238
Chris7
  • 11
  • 1
  • Please provide a [mre]. Related: ["_How to make a great R reproducible example_"](https://stackoverflow.com/q/5963269/11107541). – starball Dec 22 '22 at 02:02

0 Answers0