# R scripts for Research on Sustainability

## Author: Dr. Yosune Miquelajauregui Graf

This digital repository contains R scripts which have been developed for LANCIS, UNAM.

All scripts are property of LANCIS. R Scripts Catalogue

This catalogue is divided in two sections. The first section contains a collection of scripts which were developed to manipulate, analyze and visualize data used for sustainability research. The second section is composed of scripts developed to perform statistical analyses and to implement mathematical models of socioecological systems.

# Data Science

## Manipulation, Analysis and Visualization

- Analyze flooding/Ponding data provided by Unidad Tormenta (SACMEX) for the period 2007-2014
- Calculate conditional probabilities of flooding/ponding events given precipitation inputs
- Analyze climatic data for MÃ©xico city under global change
- Multivariate analysis to identify homogeneous regions within Mexico city
- Precipitation analysis
- Severity of flooding/ponding events
- Analysis of type of flooding/ponding
- Data Science: handling missing values. An example using meteorological data
- WRF validation (under construction)
- Runoff analysis(under construction)

# Statistics and socioecological systems modelling in R

- Introduction to R
- Stochastic data generation, building functions and loops
- Apply family and bestiary of graphics
- Descriptive statistics
- Simple and multiple linear regression
- Maximum likelihood, Akaike Information Criteria and multimodel inference
- Generalized lineal models: Poisson and negative binomial distribution
- GEE for repeated measures
- [Introduction to modelling of socioecological systems]