Statistics, Data Science, Spatial Data Analysis, R Programming, Hands On Tutorials.
with(PointPatterns, summary(Astrocytes)$intensity) head(PointPatterns[,9:11]) You can see that we have created a new column that contains the spatial intensity of astrocytes. Next, we extract the information into a data frame along with the grouping variables: Astrocytes_df <-