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
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
@caroliee, thanks for creating the issue. I think this should be fixed in the next release (jasp-stats/jaspSem#205), alternatively you can try one of the JASP nightly versions, it should also already be fixed there.
Hi @juliuspfadt, can you tell me when the next release will be with this bug fix or if there is a previous version of JASP where the error message was not there? Thank you very much for helping!
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 gpa dataset with factor](https://private-user-images.githubusercontent.com/171804679/336812502-52a2549e-a22d-4efe-a32b-276f27568ea7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNTY4ODMsIm5iZiI6MTcyMzI1NjU4MywicGF0aCI6Ii8xNzE4MDQ2NzkvMzM2ODEyNTAyLTUyYTI1NDllLWEyMmQtNGVmZS1hMzJiLTI3NmYyNzU2OGVhNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxMFQwMjIzMDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMjYwNzMzZjJlODU2NzBjMTFmYmRkMjliZjExM2IyNzcwZmJhM2UyODNjYWQzNThlODA5ZTlhMGFjZGZkNTNlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.if4T0nmgb4NpgGlfEXhDPa1ClfFApA167gtH0n6NPl8)
![LGCM my dataset with factor group](https://private-user-images.githubusercontent.com/171804679/336812509-aa612d67-7654-4149-ae25-5cbd61e77afc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNTY4ODMsIm5iZiI6MTcyMzI1NjU4MywicGF0aCI6Ii8xNzE4MDQ2NzkvMzM2ODEyNTA5LWFhNjEyZDY3LTc2NTQtNDE0OS1hZTI1LTVjYmQ2MWU3N2FmYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxMFQwMjIzMDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMjIzYWI1NTJlYjUwM2JjY2Q1YWVkNDhmNjMxYjNmNjQ4YjcwYjdjNDdhNjYwZGUzNzNiMTY1NDVkNjJiZTZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YYfb6clqnykUlfXiALOpDrfeHjFFSsD-O1E0-HcWV5c)
![LGCM my dataset without factor](https://private-user-images.githubusercontent.com/171804679/336812511-7e69fc98-8af0-4393-8dfa-7ee10442d92f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNTY4ODMsIm5iZiI6MTcyMzI1NjU4MywicGF0aCI6Ii8xNzE4MDQ2NzkvMzM2ODEyNTExLTdlNjlmYzk4LThhZjAtNDM5My04ZGZhLTdlZTEwNDQyZDkyZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxMFQwMjIzMDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZWIwNWUyY2ZjM2JkMzIwNmJmZjhiMzRkMTkzN2Q4OTE2ZTQ2OTA2MGU1OGNlOGY2ZWZjYzE1NzljNWM1MDIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.-u9e9x9aPYFjlb61SmZBRDFhTVyhhTYnvI_93k8BjVQ)
Log (if any)
No response
Final Checklist
The text was updated successfully, but these errors were encountered: