Closed TJRosew closed 1 month ago
Hi,
thank you for pointing out this issue. I made some changes in the multlcmm function. Could you try it again and let me know if it now works fine ? Thanks,
Viviane
That seems to have resolved the issue, thank you!
Hi, I'm running into an error when trying to use the PredictY function with a multlcmm object that was created with formulas formed from as.formula() function. If I hard code the formulas in the multlcmm function it works fine, but I'd like to be able to programmatically form my fomulas as I'm testing a few different approaches.
An earlier verison of LCMM (or earlier version of R) was able to perform it this way without issue, but ran into this when revisiting this code to update a project. Possible there's a better way to form the formulas for use in this way.
Tested in R 4.3.1 and 4.4.1
Example code to reproduce. As far as I can tell the actual results from multlcmm are the same.