# addition 5+4 # multiplication 7*8 # division 10/3 # exponentiation 3^4 # load csv file into the variable pop library(readr) pop <- read_csv("nycHistPop.csv",skip = 5) # display the contents of pop pop # display only the column named Bronx in pop pop$Bronx # plot the data in the Bronx column as points plot(pop$Bronx) # plot the data in the Bronx column as a continuous line (line graph) plot(pop$Bronx, type = "l") # same as previous plot, but line is blue plot(pop$Bronx, type = "l", col = "blue") # same as previous plot but x axis is labeled by the years (from the data) plot(pop$Year, pop$Bronx, type = "l")