pRlabel: Relabel a Point Pattern in Parallel

View source: R/rapt_envelopes.R

pRlabelR Documentation

Relabel a Point Pattern in Parallel

Description

Randomly allocates marks to a point pattern, or permutes the existing marks, or resamples from the existing marks.

Usage

pRlabel(cl, X, labels = marks(X), permute = TRUE, nsim = 99)

Arguments

X

Point pattern (object of class "ppp", "lpp", "pp3" or "ppx") or line segment pattern (object of class "psp")

labels

Vector of values from which the new marks will be drawn at random. Defaults to the vector of existing marks

permute

Logical value indicating whether to generate new marks by randomly permuting labels or by drawing a random sample with replacement

nsim

Number of simulated realisations to be generated. Default is 99

Value

A list of marked point patterns, each of the same class of X.

See Also

rlabel


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.