Skip to content

Instantly share code, notes, and snippets.

Example regression of classes

Create Example Data

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.

@tarensanders
tarensanders / README.md
Last active May 12, 2023 00:23
Extract creation time from GoPro files

Installation

Install FFmpeg

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.

Install Python

@tarensanders
tarensanders / sleepIPD.R
Last active October 4, 2021 21:58
Pooled Sleep & PA GGIR shell
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,
#=====================