Question: Install the package mdsr and load the library. Go ahead and view the world_cities dataset in this package. Re-do this k-means algorithm on the world_cities
Install the package "mdsr" and load the library. Go ahead and view the world_cities dataset in this package. Re-do this k-means algorithm on the world_cities data with one more variable: population. Note: in this case it makes sense to standardize the data. What happens? on)
This is the data set I filtered out, please use this to help me solve this problem. Thanks!
big_cities <- world_cities %>% arrange(desc(population)) %>% slice(1:4000) %>% select(name, longitude, latitude)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
