Learn R Programming

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

splancs (version 2.01-40)

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

12,101

Version

2.01-40

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

April 16th, 2017

Functions in splancs (2.01-40)

Fhat

F nearest neighbour distribution function
Fzero

Theoretical nearest neighbour distribution function
burkitt

Burkitt's lymphoma in Uganda
cardiff

Locations of homes of juvenile offenders
inout

Test points for inclusion in a polygon
inpip

Select points inside a polygon
khat

K-function
khvc

Covariance matrix for the difference between two K-functions
Shift

Shift a point data set
southlancs

Cancer cases in Chorley-Ribble
tor.shift

Toroidal shift on a point data set
tribble

Diggle-Rowlingson Raised Incidence Model
Kenv.tor

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

Modified envelope of K12hat from random toroidal shifts of two point patterns
is.points

Point Objects
k12hat

Bivariate K-function
print.ribfit

Display the fit from tribble()
ranpts

adjust number of random points in polygon
stvmat

Variance matrix for space-time clustering
thin

Randomly thin a point data set
Ghat

G nearest neighbour distribution function
Kenv.csr

Envelope of Khat from simulations of complete spatial randomness
okwhite

Oklahoma white offenders
pcp

Fit a Poisson cluster process
sbox

Generate a box surrounding a point object
secal

Standard errors for the difference between two K-functions
bboxx

Generate a non-closed bounding polygon
bodmin

Bodmin Moors granite tors
kernel2d

Kernel smoothing of a point pattern
kernel3d

Space-time kernel
nndistF

Nearest neighbour distances as used by Fhat()
nndistG

Nearest neighbour distances as used by Ghat()
pcp.sim

Generate a Poisson Cluster Process
pdense

Overall density for a point pattern
rLabel

Randomly label two or more point sets
rtor.shift

Random toroidal shift on a point data set
triblik

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

Craters in Uganda
addpoints

Add points interactively to a point data set
amacrines

Amacrines on/off data set
areapl

Calculate area of polygon
as.points

Creates data in spatial point format
getpoly

Draw a polygon on the current graphics device
dsquare

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

generate points in polygon
mse2d

Mean Square Error for a Kernel Smoothing
n2dist

Nearest neighbours for two point patterns
pip

Points inside or outside a polygon
plt

bins nearest neighbour distances
splancs

Return version number and author information
gridpts

Generate a grid of points
khvmat

Covariance matrix for the difference between two K-functions
mpoint

Overlay a number of point patterns
zoom

Interactively specify a region of a plot for expansion
spoints

Point Objects
stmctest

Monte-Carlo test of space-time clustering
stsecal

Standard error for space-time clustering
Kenv.label

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

Calculate simulation envelope for a Poisson Cluster Process
csr

Generate completely spatially random points on a polygon
delpoints

Select points to delete from a points data set
kernrat

Ratio of two kernel smoothings
kerview

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

Number of points in data set
okblack

Oklahoma black offenders
pointmap

Graphics
polymap

Graphics
stdiagn

Summary plots for clustering analysis
stkhat

Space-time K-functions