michaelhallquist / MplusAutomation

The MplusAutomation package leverages the flexibility of the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, MplusAutomation provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.
84 stars 46 forks source link

error in ReadModels$parameters #167

Closed Reout-Arbel closed 4 months ago

Reout-Arbel commented 2 years ago

Hi,

I am trying to read parameters from LPA model output. I keep getting this error message

NAs introduced by coercionError extracting MODEL RESULTS in output file: ~/Google Drive/My Drive/Social profiles/efa_na_R.out <simpleError in [<-(*tmp*, r, 1:length(line), value = line): subscript out of bounds>

BTW-working with a Mac, if it might explain it :)

michaelhallquist commented 2 years ago

If you can upload the .out file here (as a .txt file for Github to accept it), we can try to debug the problem.

-Michael

Reout-Arbel commented 2 years ago

Hey,

Thank you! I really appreciate your help.

I copy pasted the code and the error message to a text file.

I hope it's okay.

best, Reout

Reout Arbel, PhD Department of Counseling and Human Development University of Haifa 199 Aba Khoushy Ave. Mount Carmel, Haifa, 3498838 Israel

On Wed, Apr 27, 2022 at 3:39 PM michaelhallquist @.***> wrote:

If you can upload the .out file here (as a .txt file for Github to accept it), we can try to debug the problem.

-Michael

— Reply to this email directly, view it on GitHub https://github.com/michaelhallquist/MplusAutomation/issues/167#issuecomment-1110951347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY4OLUSG7S5HQW3XP6JEP23VHEYP7ANCNFSM5UJUULEQ . You are receiving this because you authored the thread.Message ID: @.***>

michaelhallquist commented 2 years ago

Unfortunately, I don't see any text file attached to your message above. You will have to add it as a .txt attachment to the Github issue. Could you try again?

michaelhallquist commented 2 years ago

Hi @Reout-Arbel, I don't believe I ever received the txt file that would allow us to reproduce the error you saw. Would you please upload this?

Reout-Arbel commented 2 years ago

Hi, I am so sorry for the delayed reply. Thank you so much for following up!

Attached is the rmd tfile, inp. out. files, [image: Screen Shot 2022-09-18 at 17.04.42.png] and a screen shot of the error message (chink 160)

Please let me know what else is needed.

Thank you!

On Wed, Sep 14, 2022 at 4:00 PM michaelhallquist @.***> wrote:

Hi @Reout-Arbel https://github.com/Reout-Arbel, I don't believe I ever received the txt file that would allow us to reproduce the error you saw. Would you please upload this?

— Reply to this email directly, view it on GitHub https://github.com/michaelhallquist/MplusAutomation/issues/167#issuecomment-1246730269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY4OLUV2DSJEJJBROMGNUH3V6HD5XANCNFSM5UJUULEQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Reout Arbel, PhD Department of Counseling and Human Development University of Haifa 199 Aba Khoushy Ave. Mount Carmel, Haifa, 3498838 Israel

cjvanlissa commented 2 years ago

Dear Reout,

We can't see these email attachments, you have to use the web interface to upload files! Best, Caspar

michaelhallquist commented 4 months ago

Closing this issue due to a lack of files to reproduce the error. Please feel free to reopen the issue if it persists and you can provide an output file that we can use to reproduce it.