made using Leaflet

Programming and Statistical Modeling in R

This is a public website where you can share notes or chunks of code so that other people in the class can use them.

It is organized by Lecture and exercise.

Lectures

Code and notes

Lectures

Code and notes

Project organization and workflow

Add notes here, they will be visible to everyone

Exercises

Code and notes


Exercises

Code and notes

Project organization and workflow

Add stuff here

Loops exercise



Functions

mean_sd <- function(x, na.rm = TRUE) {

res <- data.frame( mean = mean(x, na.rm = na.rm), sd = sd(x, na.rm = na.rm) )

ggplot2


#one version: