Created
July 18, 2020 17:02
-
-
Save karan19100/4c4fadd13f21185b9b1504399a66d71a to your computer and use it in GitHub Desktop.
datasetdetails_by_karan shah
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(e1071) # it includes function to compute skewness | |
library(plyr) # it allows to wrangle data | |
library(ggplot2) # it allows to create a number of different types of plots | |
ais2 <- subset(ais, sex=="m") # only male athletes | |
ais3 = ais2[,c(3,4)] # subset column number that correspond to "hg" and "hc" | |
newdata <- rename(ais3, c("hg"="HEMAGLOBIN", "hc"="HEMATOCRIT")) | |
str(newdata) | |
summary(newdata) # overview of the two selected variable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment