library(readr)
dki <- read_delim("C:/Users/Rayendra/Downloads/dkikepadatankelurahan2013 (2).csv",
delim = ";",
escape_double = FALSE,
trim_ws = TRUE
)
## Rows: 267 Columns: 7
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ";"
## chr (4): NAMA PROVINSI, NAMA KABUPATEN/KOTA, NAMA KECAMATAN, NAMA KELURAHAN
## dbl (3): TAHUN, LUAS WILAYAH (KM2), KEPADATAN (JIWA/KM2)
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
colnames(dki) <- c("Tahun", "Prov", "Kab", "Kec", "Kel", "Luas", "Kepadatan")
head(dki)
## # A tibble: 6 × 7
## Tahun Prov Kab Kec Kel Luas Kepadatan
## <dbl> <chr> <chr> <chr> <chr> <dbl> <dbl>
## 1 2013 PROVINSI DKI JAKARTA KAB.ADM.KEP.SERIBU KEP. SERI… P. P… 0.91 6779
## 2 2013 PROVINSI DKI JAKARTA KAB.ADM.KEP.SERIBU KEP. SERI… P. K… 3.76 1705
## 3 2013 PROVINSI DKI JAKARTA KAB.ADM.KEP.SERIBU KEP. SERI… P. H… 3.59 628
## 4 2013 PROVINSI DKI JAKARTA KAB.ADM.KEP.SERIBU KEP. SERI… P. U… 0.59 3625
## 5 2013 PROVINSI DKI JAKARTA KAB.ADM.KEP.SERIBU KEP. SERI… P. T… 1.57 3084
## 6 2013 PROVINSI DKI JAKARTA KAB.ADM.KEP.SERIBU KEP. SERI… P. P… 1.39 1968



Normalitas data

Scatterplot Matrix

Hierarki
