Description Usage Arguments Details Value See Also Examples
Enables envelopes to be computed for point patterns on a sphere.
1 2 3 4 5 6 7 8 | ## S3 method for class 'spp'
envelope(Y, fun = Kspp, nsim = 99, nrank = 1, ...,
funargs = list(), simulate = NULL, verbose = TRUE, transform = NULL,
global = FALSE, ginterval = NULL, use.theory = NULL,
alternative = c("two.sided", "less", "greater"), scale = NULL,
clamp = FALSE, savefuns = FALSE, savepatterns = FALSE, nsim2 = nsim,
VARIANCE = FALSE, nSD = 2, Yname = NULL, do.pwrong = FALSE,
envir.simul = NULL)
|
Y |
A point pattern on a spherical domain (object of class |
fun |
Function that is to be computed for each simulated pattern. |
nsim |
Number of simulations to perform. |
nrank |
Integer. Rank of the envelope value amongst the |
funargs |
A list, containing extra arguments to be passed to |
simulate |
Optional. Specifies how to generate the simulated point
patterns. If |
verbose |
Logical flag indicating whether to print progress reports during the simulations. |
transform |
Optional. A transformation to be applied to the function values, before the envelopes are computed. An expression object (see Details). |
global |
Logical flag indicating whether envelopes should be pointwise
( |
ginterval |
Optional. A vector of length 2 specifying the interval of
r values for the simultaneous critical envelopes. Only relevant if
|
use.theory |
Logical value indicating whether to use the theoretical
value, computed by |
alternative |
Character string determining whether the envelope
corresponds to a two-sided test ( |
scale |
Optional. Scaling function for global envelopes. A function in
the language which determines the relative scale of deviations, as a
function of distance r, when computing the global envelopes.
Applicable only when |
clamp |
Logical value indicating how to compute envelopes when
|
savefuns |
Logical flag indicating whether to save all the simulated function values. |
savepatterns |
Logical flag indicating whether to save all the simulated point patterns. |
nsim2 |
Number of extra simulated point patterns to be generated if it
is necessary to use simulation to estimate the theoretical mean of the
summary function. Only relevant when |
VARIANCE |
Logical. If |
nSD |
Number of estimated standard deviations used to determine the
critical envelopes, if |
Yname |
Character string that should be used as the name of the data
point pattern |
do.pwrong |
Logical. If |
envir.simul |
Environment in which to evaluate the expression
|
... |
Extra arguments passed to |
This is a method for the generic function envelope
applicable
to point patterns on a sphere.
The argument Y
should be a point pattern on a sphere. The function
fun
will be evaluated for the data and also for nsim
simulated
point patterns on the same spherical domain. The upper and lower envelopes of
these evaluated functions will be computed as described in
envelope
.
The type of simulation is determined as follows.
simulate
is missing or NULL
, then random point patterns
will be generated according to a Poisson point process on the spherical
domain on which Y
is defined, with intensity estimated from
Y
.
If simulate
is present, it should be an expression that can be
evaluated to yield random point patterns on the same spherical domain as
Y
.
The function fun
should accept as its first argument a point pattern
on a spherical domain (object of class "spp"
) and should have another
argument called r
or a ...{}
argument.
Function value table (object of class "fv"
) with additional
information, as described in envelope
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.