Given that you've set up a Redshift cluster through mParticle platform, this repository contains a set of R scripts that help get you started on querying data out of Redshift and building predictive models.
- user.engagement.predict.R: this script builds generalized regularized linear models to predict if a user is going to be an engaged app user based on the user's interactions with the app within the 2 hours of the first app open.