Created
May 25, 2020 17:45
-
-
Save theyesils/b98d2187c5d5e53c34ce97633aa35e99 to your computer and use it in GitHub Desktop.
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
#import library we need | |
library(readr) | |
library(modeest) | |
#download the dataset | |
mafs<-read_csv("C:/Users/Asus/Desktop/mafs.csv") | |
View(mafs) | |
# To view structure of dataset | |
str(mafs) | |
age=mafs$Age | |
#mean | |
mean(age) | |
#median | |
median(age) | |
#Mode | |
mfv(age) | |
#Quartiles | |
quantile(age) | |
#Summary | |
summary(age) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment