In this chapter, we'll learn how to use point pattern analysis in R using the spatstat package. Point pattern analysis allows us to conduct different statistical analyses on point data. In previous chapters, we learned different ways to manage spatial data—both vector and raster data. This chapter looks at how to conduct statistics-related tasks, such as testing for spatial randomness, spatial logistic regression, and analysis of dependence. In many cases, we might need to draw inferences from our data; using point pattern analysis, we can answer all such queries. This chapter will solely focus on using the spatstat package with R only.
In this chapter, we'll cover the following topics:
- Introduction to point pattern analysis
- Analysis of point patterns