jitter.points: Bootstrap and Kernel Bootstrap from Points

Description Usage Arguments Value Author(s) Examples

View source: R/jitter.R

Description

Operations for bootstrapping and kernel bootstrapping based on point data. bstrap.points sample n points with replacement from a sample - and jitter.points adds a Gaussian displacement to each point in a data set. Applying a jitter to a bootstrap effectively creates a kernel bootstrap operation.

Usage

1
2

Arguments

pts

A SpatialPointsDataFrame

scl

A scale parameter - basically the standard deviation of the random Gaussian displacement

Value

A SpatialPointsDataFrame - with either a sample without replacement or a replica of the input data with displacements.

Author(s)

Chris Brunsdon

Examples

1
2
3
data(newhaven)
plot(blocks)
for (i in 1:20) plot(jitter.points(breach,150),add=TRUE,pch=1,col='red') 

GISTools documentation built on May 6, 2019, 1:09 a.m.