Practical Error Messages and Warnings

what does this error mean “Warning message:
In FUN(X[[i]], …) : not all columns named in ‘colClasses’ exist” and why does it occur during the practical?

Replying to "what does this error mean “Warning message: In FUN…”:

It is a warning message from lavaan due to a new version of lavaan. I believe it is safe to ignore and Andrew will mention it.

Replying to "what does this error mean “Warning message: In FUN…”:

great thank you!

Replying to "what does this error mean “Warning message: In FUN…”:

I think in this particular instance this warning message is because there isn’t an N column in the PTSD file - usually if you get the not all columns named warning its to alert you that maybe a key column is missing from your data which you could potentially add to ensure all the most vital information is there - for certain things like N the function will still run but if its something like the SNP column it won’t work

Replying to "what does this error mean “Warning message: In FUN…”:

Great thanks!

Replying to "what does this error mean “Warning message: In FUN…”:

If you look back through the output from the function often you can tell because it will write out e.g. “Cannot find N column, try renaming it to N in the summary statistics file for:PTSD4.txt” in the corresponding .log file