Core Functionality of the 'spatstat' Family

Functionality for data analysis and modelling of spatial data, mainly spatial point patterns, in the 'spatstat' family of packages. (Excludes analysis of spatial data on a linear network, which is covered by the separate package 'spatstat.linnet'.) Exploratory methods include quadrat counts, K-functions and their simulation envelopes, nearest neighbour distance and empty space statistics, Fry plots, pair correlation function, kernel smoothed intensity, relative risk estimation with cross-validated bandwidth selection, mark correlation functions, segregation indices, mark dependence diagnostics, and kernel estimates of covariate effects. Formal hypothesis tests of random pattern (chi-squared, Kolmogorov-Smirnov, Monte Carlo, Diggle-Cressie-Loosmore-Ford, Dao-Genton, two-stage Monte Carlo) and tests for covariate effects (Cox-Berman-Waller-Lawson, Kolmogorov-Smirnov, ANOVA) are also supported. Parametric models can be fitted to point pattern data using the functions ppm(), kppm(), slrm(), dppm() similar to glm(). Types of models include Poisson, Gibbs and Cox point processes, Neyman-Scott cluster processes, and determinantal point processes. Models may involve dependence on covariates, inter-point interaction, cluster formation and dependence on marks. Models are fitted by maximum likelihood, logistic regression, minimum contrast, and composite likelihood methods. A model can be fitted to a list of point patterns (replicated point pattern data) using the function mppm(). The model can include random effects and fixed effects depending on the experimental design, in addition to all the features listed above. Fitted point process models can be simulated, automatically. Formal hypothesis tests of a fitted model are supported (likelihood ratio test, analysis of deviance, Monte Carlo tests) along with basic tools for model selection (stepwise(), AIC()) and variable selection (sdr). Tools for validating the fitted model include simulation envelopes, residuals, residual plots and Q-Q plots, leverage and influence diagnostics, partial residuals, and added variable plots.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spatstat.core")

2.0-0 by Adrian Baddeley, 20 days ago


http://spatstat.org/


Report a bug at https://github.com/spatstat/spatstat.core/issues


Browse source code at https://github.com/cran/spatstat.core


Authors: Adrian Baddeley [aut, cre] , Rolf Turner [aut] , Ege Rubak [aut] , Kasper Klitgaard Berthelsen [ctb] , Ottmar Cronie [ctb] , Tilman Davies [ctb] , Julian Gilbey [ctb] , Yongtao Guan [ctb] , Ute Hahn [ctb] , Kassel Hingee [ctb] , Abdollah Jalilian [ctb] , Marie-Colette van Lieshout [ctb] , Greg McSwiggan [ctb] , Tuomas Rajala [ctb] , Suman Rakshit [ctb] , Dominic Schuhmacher [ctb] , Rasmus Plenge Waagepetersen [ctb] , Hangsheng Wang [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports spatstat.utils, spatstat.sparse, mgcv, Matrix, abind, tensor, goftest

Depends on spatstat.data, spatstat.geom, stats, graphics, grDevices, utils, methods, nlme, rpart

Suggests sm, maptools, gsl, locfit, spatial, RandomFields, RandomFieldsUtils, fftwtools, spatstat.linnet, spatstat


Imported by Biolinv, DRHotNet, ENMTools, ETAS, GmAMisc, MetaLandSim, SPUTNIK, Seurat, SpNetPrep, SpatEntropy, SpatialVx, ecespa, graph4lg, hht, idar, lgcp, osmplotr, rcarbon, replicatedpp2w, selectspm, shar, smacpod, sparr, spatialEco, spatsurv, stlnpp, stpp, treetop, trip, ttbary.

Depended on by dbmss, envi, gateR, globalKinhom, lacunaritycovariance, spagmix, sparrpowR, spatstat, spatstat.Knet, spatstat.gui, spatstat.linnet, spatstat.local.

Suggested by GET, inlabru, mobsim, rlfsm, sf, spatstat.data, spatstat.geom, spatstat.utils, stats19, trajectories.


See at CRAN