Closed caroliee closed 2 weeks ago
@caroliee, thanks for creating the issue. I think this should be fixed in the next release (https://github.com/jasp-stats/jaspSem/pull/205), alternatively you can try one of the JASP nightly versions, it should also already be fixed there.
JASP Version
0.18.3
Commit ID
No response
JASP Module
SEM
What analysis are you seeing the problem on?
Latent growth curve model
What OS are you seeing the problem on?
Windows 10
Bug Description
I was executing a latent growth curve model with 6 time points. When I added a factor "group" (1 = intervention, 2 = control) the following error message shows up:
Error in .lgcmEnrichData(dataset, options): object 'currentNa' not found
Stack trace tryCatchOne(expr, names, parentenv, handlers[[1]])
doTryCatch(return(expr), name, parentenv, handler)
withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)
analysis(jaspResults = jaspResults, dataset = dataset, options = options)
.lgcmEnrichData(dataset, options)
options(na.action = currentNa)
Expected Behaviour
Regression coefficients for the groups should be displayed
Steps to Reproduce
I have the same issue when i perform the latent curve model with the example dataset from this JASP tutorial site: https://jasp-stats.org/2022/02/22/latent-growth-curve-modeling-lgcm-in-jasp/
![LGCM my dataset without factor](https://github.com/jasp-stats/jasp-issues/assets/171804679/7e69fc98-8af0-4393-8dfa-7ee10442d92f)
Log (if any)
No response
Final Checklist