a collection of R codes and graphs