# NOT RUN {
#load the point dataset representing the location of springs
data(springs)
#load the polygon dataset representing the study area
data(malta_polyg)
#load the raster representing the terrain elevation, to be used as covariate
data(malta_dtm_40)
pointsCovarDistr(feature=springs, cov.var=malta_dtm_40, studyplot=malta_polyg)
# }
Run the code above in your browser using DataCamp Workspace