Overview dữ liệu
Data BMI
from https://www1.imperial.ac.uk/publichealth/departments/ebs/projects/eresh/majidezzati/healthmetrics/metabolicriskfactors/
In [9]:
load('/home/duyetdev/Downloads/Mumbai2013.RData')
write.csv(Mumbai2013, 'mumbai2013.csv')
In [13]:
Mumbai2013 <- read.csv('./mumbai2013.csv')
In [14]:
# Xem 6 dòng đầu
head(Mumbai2013)
In [15]:
# Xem 10 dòng cuối
tail(Mumbai2013, n = 10)
In [16]:
# Cấu trúc (struct), mô tả dataframe
str(Mumbai2013)
In [17]:
# Chiều
dim(Mumbai2013)
In [18]:
# Danh sách các cột
names(Mumbai2013)
In [19]:
# Class name
class(Mumbai2013)
In [20]:
library(dplyr)
In [21]:
# Summary dataframe
summary(Mumbai2013)
In [22]:
glimpse(Mumbai2013)
In [ ]:
In [23]:
hist(Mumbai2013$Temperature)
In [24]:
plot(Mumbai2013)