I am trying to run a data set using an excel file in the .csv format to be used in LEA. However, the software returns an error message every time saying that our matrix can only contain 0, 1, 2 or 9, but our file does contain only these numbers. I am wondering if anyone has used LEA and can explain to me what format the program can read/accept. I am thinking the problem could be with the headings, but I have altered the headings multiple times and it still contains this error message.
We are going to need a little more detail to help you out. There is more information on how to get help at the pinned welcome message including on how to make a reproducible example of the challenge you are trying to solve
I would love to create a reprex to allow you a quick and easy understanding of my problem. However, I have never created a reprex before so I am unclear on how the process works.
For another R user to reproduce my error message, would I have to provide my specific data file? If this is not the case, I am unclear on how the same error message would appear on one R console to another.
Please let me know so I can create the best possible reprex.
Personally, I prefer to use dummy data to re-create and solve challenges. Sometimes including complicated data in an example, takes focus away from the core problem you are trying to address (imho).
However, if the problem pertains to a function embedded deep in a package, this can be difficult. If this is the case, then you will have to supply your data (or a small enough part to reproduce the error) along with the code, which results in the error.