November 2018
Beginner to intermediate
354 pages
6h 59m
English
In the spatstat package, for dealing with point pattern process, there is a new data type called the ppp object. This ppp object consists of event coordinates, window, and marks (if there are any).
We need to first install the spatstat package in R and then load it to do point pattern analysis:
install.packages("spatstat")library(spatstat)
To create a ppp object, we use the ppp() command. In ppp(x, y, x_dimension_of_window, y_dimension_of_window), we first need to provide the x coordinates of the points in the x vector, and the y coordinates of the point in the y vector. Then, there's x_dimension_of_window, which is a vector that consists of the coordinates of the left and right corners of the x coordinates of the window, ...
Read now
Unlock full access