Learn R Programming

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

splancs (version 2.01-43)

Spatial and Space-Time Point Pattern Analysis

Description

The Splancs package was written as an enhancement to S-Plus for display and analysis of spatial point pattern data; it has been ported to R and is in "maintenance mode".

Copy Link

Version

Install

install.packages('splancs')

Monthly Downloads

18,356

Version

2.01-43

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

April 17th, 2022

Functions in splancs (2.01-43)

addpoints

Add points interactively to a point data set
Kenv.csr

Envelope of Khat from simulations of complete spatial randomness
bboxx

Generate a non-closed bounding polygon
Ghat

G nearest neighbour distribution function
Fhat

F nearest neighbour distribution function
Kenv.tor

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

Envelope of K1hat-K2hat from random labelling of two point patterns
Kenv.pcp

Calculate simulation envelope for a Poisson Cluster Process
delpoints

Select points to delete from a points data set
dsquare

Distance-squared from a number of points to a number of sources
csr

Generate completely spatially random points on a polygon
burkitt

Burkitt's lymphoma in Uganda
gridpts

Generate a grid of points
bodmin

Bodmin Moors granite tors
getpoly

Draw a polygon on the current graphics device
cardiff

Locations of homes of juvenile offenders
areapl

Calculate area of polygon
is.points

Point Objects
okblack

Oklahoma black offenders
amacrines

Amacrines on/off data set
npts

Number of points in data set
kernel2d

Kernel smoothing of a point pattern
kernel3d

Space-time kernel
k12hat

Bivariate K-function
as.points

Creates data in spatial point format
pointmap

Graphics
polymap

Graphics
inout

Test points for inclusion in a polygon
gen

generate points in polygon
inpip

Select points inside a polygon
mse2d

Mean Square Error for a Kernel Smoothing
khat

K-function
kernrat

Ratio of two kernel smoothings
n2dist

Nearest neighbours for two point patterns
pdense

Overall density for a point pattern
khvc

Covariance matrix for the difference between two K-functions
pcp.sim

Generate a Poisson Cluster Process
kerview

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

Covariance matrix for the difference between two K-functions
print.ribfit

Display the fit from tribble()
ranpts

adjust number of random points in polygon
mpoint

Overlay a number of point patterns
okwhite

Oklahoma white offenders
stdiagn

Summary plots for clustering analysis
pcp

Fit a Poisson cluster process
stkhat

Space-time K-functions
rLabel

Randomly label two or more point sets
Shift

Shift a point data set
sbox

Generate a box surrounding a point object
southlancs

Cancer cases in Chorley-Ribble
stmctest

Monte-Carlo test of space-time clustering
secal

Standard errors for the difference between two K-functions
stsecal

Standard error for space-time clustering
rtor.shift

Random toroidal shift on a point data set
uganda

Craters in Uganda
triblik

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

Nearest neighbour distances as used by Ghat()
nndistF

Nearest neighbour distances as used by Fhat()
zoom

Interactively specify a region of a plot for expansion
stvmat

Variance matrix for space-time clustering
pip

Points inside or outside a polygon
plt

bins nearest neighbour distances
thin

Randomly thin a point data set
splancs

Return version number and author information
spoints

Point Objects
tribble

Diggle-Rowlingson Raised Incidence Model
tor.shift

Toroidal shift on a point data set
Kenv.tor1

Modified envelope of K12hat from random toroidal shifts of two point patterns
Fzero

Theoretical nearest neighbour distribution function