Learn R Programming

⚠️There's a newer version (2.01-45) of this package.Take me there.

splancs (version 2.01-10)

Spatial and Space-Time Point Pattern Analysis

Description

Spatial and Space-Time Point Pattern Analysis Functions

Copy Link

Version

Install

install.packages('splancs')

Monthly Downloads

18,356

Version

2.01-10

License

GPL version 2 or newer (see README).

Maintainer

Roger Bivand

Last Published

May 27th, 2024

Functions in splancs (2.01-10)

Kenv.csr

Envelope of Khat from simulations of complete spatial randomness
amacrines

Amacrines on/off data set
pcp.sim

Generate a Poisson Cluster Process
areapl

Calculate area of polygon
Fhat

F nearest neighbour distribution function
okwhite

Oklahoma white offenders
khat

K-function
bodmin

Bodmin Moors granite tors
triblik

Log-likelihood for the Diggle-Rowlingson raised incidence model
burkitt

Burkitt's lymphoma in Uganda
okblack

Oklahoma black offenders
kernel2d

Kernel smoothing of a point pattern
pointmap

Graphics
rtor.shift

Random toroidal shift on a point data set
kerview

A linked-window system for browsing space-time data
stvmat

Variance matrix for space-time clustering
khvmat

Covariance matrix for the difference between two K-functions
inout

Test points for inclusion in a polygon
shift

Shift a point data set
nndistG

Nearest neighbour distances as used by Ghat()
kernrat

Ratio of two kernel smoothings
Kenv.tor1

Modified envelope of K12hat from random toroidal shifts of two point patterns
Kenv.label

Envelope of K1hat-K2hat from random labelling of two point patterns
gridpts

Generate a grid of points
rlabel

Randomly label two or more point sets
Kenv.pcp

Calculate simulation envelope for a Poisson Cluster Process
khvc

Covariance matrix for the difference between two K-functions
k12hat

Bivariate K-function
pcp

Fit a Poisson cluster process
getpoly

Draw a polygon on the current graphics device
pdense

Overall density for a point pattern
ranpts

adjust number of random points in polygon
spoints

Point Objects
plt

bins nearest neighbour distances
csr

Generate completely spatially random points on a polygon
tor.shift

Toroidal shift on a point data set
cardiff

Locations of homes of juvenile offenders
inpip

Select points inside a polygon
sbox

Generate a box surrounding a point object
stsecal

Standard error for space-time clustering
mse2d

Mean Square Error for a Kernel Smoothing
addpoints

Add points interactively to a point data set
gen

generate points in polygon
stmctest

Monte-Carlo test of space-time clustering
zoom

Interactively specify a region of a plot for expansion
npts

Number of points in data set
secal

Standard errors for the difference between two K-functions
tribble

Diggle-Rowlingson Raised Incidence Model
delpoints

Select points to delete from a points data set
kernel3d

Space-time kernel
is.points

Point Objects
splancs

Return version number and author information
nndistF

Nearest neighbour distances as used by Fhat()
mpoint

Overlay a number of point patterns
n2dist

Nearest neighbours for two point patterns
southlancs

Cancer cases in Chorley-Ribble
pip

Points inside or outside a polygon
Ghat

G nearest neighbour distribution function
Fzero

Theoretical nearest neighbour distribution function
uganda

Craters in Uganda
as.points

Creates data in spatial point format
Kenv.tor

Envelope of K12hat from random toroidal shifts of two point patterns
bbox

Generate a bounding box round a point object
polymap

Graphics
stkhat

Space-time K-functions
stdiagn

Summary plots for clustering analysis
dsquare

Distance-squared from a number of points to a number of sources
print.ribfit

Display the fit from tribble()
thin

Randomly thin a point data set