Skip to content

Instantly share code, notes, and snippets.

@raov5
raov5 / Data and Plots.ipynb
Last active December 18, 2017 21:32
This notebook: * Reviews basic commands in R * Introduces variables and assignment * Introduces data types and classes (vectors, lists, matrices, S4, data frames) * Describes how to test for and manipulate data types * Introduces basic plot commands * Describes how to read, write, load shape files
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Visualization of the 1854 London Cholera Outbreak.ipynb
Last active November 14, 2017 20:04
This notebook attempts to visualize the 1854 London Cholera Outbreak based on data collected by Dr. John Snow and provided in the HistData R package.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / What caused the Challenger disaster?.ipynb
Created October 27, 2017 01:42
The motivation for this notebook is to examine the reasons behind the explosion of the USA Space Shuttle Challenger on 28 January, 1986. Let's dive in!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Regression in R.ipynb
Created October 15, 2017 02:08
This notebook covers: * Fitting and interpreting linear models * Evaluating model assumptions * Selecting among competing models
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Basic Statistics in R.ipynb
Created September 13, 2017 23:05
This notebook covers: * Descriptive statistics * Frequency and contingency tables * Correlations and covariances * t-tests * Nonparametric statistics
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Add a .RData file to a DSX R Notebook in 5 steps.ipynb
Created September 13, 2017 14:14
This notebook teaches users how to upload an .RData file into an R Jupyter Notebook in IBM's Data Science Experience (DSX).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Basic Graphs in R.ipynb
Created September 4, 2017 10:04
This notebook covers: * Bar, box and dot plots * Pie and fan charts * Histograms and kernel density plots
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Advanced Data Preparation in R.ipynb
Created September 2, 2017 14:01
This notebook covers advanced data preparation in R, including: * mathematical and statistical functions * character functions * looping and conditional execution * user-written functions * ways to aggregate and reshape data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Data Preparation in R.ipynb
Created August 24, 2017 13:23
This notebook covers data preparation in R, including: * manipulating dates and missing values * understanding data type conversions * creating and recoding variables * sorting, merging and subsetting datasets * selecting and dropping variables
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@raov5
raov5 / Getting started with graphs.ipynb
Created August 21, 2017 02:48
The notebook covers graphs in R. Specifically: * creating and saving graphs * customizing symbols, lines, colors and axes * annotating with text and titles * controlling a graph's dimensions * combining multiple graphs into one * does NOT cover ggplot2 library
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.