Hi all,
Currently, the example on the front page doesn't work out of the box, because.
demoData = read.csv("demoOneFactor.csv", header=TRUE)
cannot open file 'demoOneFactor.csv': No such file or directory
Just because it's so obvious on the home page, I think a lot of people will copy and paste it in, so it would be nice if it ran...
I can't see a datafile in the package called "demoOneFactor.csv"
Using the ability of R to access the web, we could do:
read.csv("https://openmx.ssri.psu.edu/data/demoOneFactor.csv", header = TRUE)
PS: Are we going to use "T" and "F" for TRUE and FALSE in the documentation?
They are just variables (like n and o), and as such can set to things other than TRUE/FALSE. For minimizing hard to track errors, it might be safer to stick to TRUE AND FALSE, though this is longer. Else add "T=TRUE; F=FALSE;" to the top of the scripts.