October 2017
Beginner to intermediate
236 pages
7h 38m
English
Here are the following few steps to complete this recipe:
Here are the necessary code blocks to implement all the preceding three steps:
USAairlineData2016 <- read.csv("USAairlineData2016.csv", as.is = T) # the new customized function to calculate summary statistics fourNumSum <- function(x){ MIN_DELAY = min(x, na.rm=T) MEAN_DELAY = mean(x, na.rm=T) MEDIAN_DELAY = median(x, na.rm=T) MAX_DELAY = max(x, na.rm=T) return(data.frame(MIN_DELAY=MIN_DELAY, MEAN_DELAY=MEAN_DELAY, MEDIAN_DELAY=MEDIAN_DELAY, MAX_DELAY=MAX_DELAY)) }