rjitter.lpp | R Documentation |
Applies independent random displacements to each point in a point pattern on a network.
## S3 method for class 'lpp'
rjitter(X, radius, ..., nsim = 1, drop = TRUE)
X |
A point pattern on a linear network
(object of class |
radius |
Scale of perturbations. A positive numerical value. Each point will be displaced by a random distance, with maximum displacement equal to this value. |
... |
Ignored. |
nsim |
Number of simulated realisations to be generated. |
drop |
Logical. If |
The function rjitter
is generic. This function is
the method for the class "lpp"
of point patterns on a linear network.
Each of the points in X
will be displaced along the network
by a random amount, independently of other points.
The maximum displacement distance is specified by radius
.
Each point remains on the same line segment of the network
as it originally was.
A point pattern on a linear network
(object of class "lpp"
)
or a list of such point patterns.
.
rjitter
for point patterns in two dimensions.
X <- runiflpp(3, simplenet)
plot(X, pch=16)
Y <- rjitter(X, 0.1)
plot(Y, add=TRUE, cols=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.