Practice examples and code from R classes