Performing cluster analysis in R with Point Datasets

المشرف العام

Administrator
طاقم الإدارة
I am a R-Beginner, but I want to use it for some spatial statistics. I want to check the relation between the occurrence of ill persons and the existence of water in a area of interest. To give you a more specific use case, I've created some example datasets:

Firstly I want to plot them in a map including a basemap. This already works!

persons_dataframe = read.csv("persons.csv", header = TRUE)city_dataframe = read.csv("city.csv", header = TRUE)water_dataframe = read.csv("water.csv", header = TRUE)# plot them on a map# load used packageslibrary(RgoogleMaps)library(ggplot2)library(ggmap)library(sp)persons_ggplot2
 
أعلى