I’ll make some dummy data to show how to do this. Ignore how ludicruous this data is. I’m going to make it so that there are 4 classes, otherwise we might get convergence issues when we try to pull these classes. In this data I’m going to use BMI as the outcome variable, and we’ll also try inluding gender in the regression.
Download FFmpeg from their downloads page for your OS. If you're not sure how to do this, there are instructions for Windows and Mac.
To check that it is working, run ffmpeg --version
in powershell or terminal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g.shell.GGIR( | |
mode=c(1,2,3,4,5), | |
datadir=datadir, | |
outputdir=outdir, | |
do.report=c(2,4,5), | |
overwrite = TRUE, | |
do.enmo = TRUE, | |
do.hfen = TRUE, | |
do.enmoa = TRUE, | |
#===================== |