This week we start with an introduction to R. Then we introduce the OpenMx data structures and syntax. Next, we work through the same models we used last week.
There are slides for this lecture as well as three datasets and a series of R scripts. If you want to run these scripts, download all the scripts and datasets to a project directory that you have created for this week's lecture. Then open up the R GUI and set the working directory to be your newly created project directory. You should then be able to run each script as you go through the slides. Each script creates and runs one model.
|IntroToOpenMx.pdf ||1010.62 KB|
|TW-IntroToR-20100210.R ||13.66 KB|
|ExampleData1.csv ||15.46 KB|
|ExampleData2.csv ||20.93 KB|
|multiData.csv ||41.9 KB|
|BivariateRaw-OpenMx100214.R ||1.62 KB|
|BivariateStd-OpenMx100214.R ||1.52 KB|
|MultiRegRaw-OpenMx100214.R ||1.85 KB|
|MultiRegStd-OpenMx100214.R ||1.74 KB|
|MultivariateRegRaw-OpenMx100214.R ||1.92 KB|
|UnivariateRaw-OpenMx100214.R ||1.44 KB|
|UnivariateStd-OpenMx100214.R ||1.34 KB|