Marked point patterns
In a spatial point pattern, points could carry additional information called marks. These marks could be either continuous or categorical. In the case of a tree, a mark could be the diameter of a tree; in the case of a landslide, a mark could be the time of the landslide. We have to be careful to remember that points are random and so, if the locations are fixed, we don't have valid points.
We'll now import a CSV file where the points are diseases and the marks are the locations of the disease and the disease status (yes or no). In ppp(), to create marks, we have to convert mark data into factors and provide it as a value of the marks argument to the ppp() function. In the following code, we import the data into R as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access