We will use the profiles
data set in the okcupiddata
package and the Titanic
(note the capital T) data set in the datasets
package. datasets
comes automatically loaded with R.
library(dplyr) library(okcupiddata) data(profiles) View(profiles) Titanic <- data.frame(Titanic) View(Titanic)