Latent Class Error: arguments imply differing number of rows

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
Ahmed_Hossain
Posts: 4
Joined: Mon Nov 15, 2021 2:58 pm

Latent Class Error: arguments imply differing number of rows

Post by Ahmed_Hossain »

Error message
Error message
download.png (19.72 KiB) Viewed 8586 times
Please help me with this problem. I tried snowRMM (Latent Class Analysis) with the Jamovi latest version software (2.2.2 current). I have a dataset consisting of 3129 rows and 18 columns/variables (6 = ordinal, 12 = nominal). When I add all the variables, an error message pops up:

"arguments imply differing number of rows: 3,4,2,5,7"

I know what it means, but how to solve this problem?
Please help. :blush:
Last edited by Ahmed_Hossain on Thu Nov 18, 2021 3:56 pm, edited 1 time in total.
User avatar
seol
Posts: 166
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Error: arguments imply differing number of rows

Post by seol »

Hi

Could you send me an email(snow@cau.ac.kr) with a .omv file that occurs errors?

Cheers
Seol
Ahmed_Hossain
Posts: 4
Joined: Mon Nov 15, 2021 2:58 pm

Re: Error: arguments imply differing number of rows

Post by Ahmed_Hossain »

Seol
Sure. I have sent you an email from ahmed.hossain1@louisiana.edu.
I have attached the database as well as the .omv file.
Please let me know any updates you have.
Ahmed_Hossain
Posts: 4
Joined: Mon Nov 15, 2021 2:58 pm

Re: Error: arguments imply differing number of rows

Post by Ahmed_Hossain »

Seol
There were some issues with my ahmed.hossain1@louisiana.edu email.
I have sent it from my Gmail address (ahmedhossain090001@gmail.com).
Hope you received it.
User avatar
seol
Posts: 166
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Latent Class Error: arguments imply differing number of

Post by seol »

Hi Ahmed_Hossain

The error might be occured due to the text dataset. Therefore, you have to change text dataset into integer values(from 1 to maximum number) as nominal variable format and run LCA analysis. I also attached sample dataset within poLCA R package. This sample data will help.

Cheers
Seol
Attachments
image1.png
image1.png (35.76 KiB) Viewed 8106 times
Post Reply