View source: R/sim2D_RandSet_HPPP.R
sim2D_RandSet_HPPP | R Documentation |
A random set is generated by using a Poisson process in 2D space to choose 'event' locations, about which a circle of random radius is 'drawn'. The union of the circles defines ultimately defines the set.
sim2D_RandSet_HPPP(
N,
xlim = c(0, 1),
ylim = c(0, 1),
radius.bounds = c(0.02, 0.1),
lambda = 50,
lambda.sd = 10,
lambda.bound = NULL,
prior = "gamma",
random.lambda = FALSE,
sub.area = FALSE,
min.sa = c(0.1, 0.1),
max.sa = c(0.3, 0.3),
radius.bounds.min.sa = c(0.02, 0.05),
radius.bounds.max.sa = c(0.08, 0.15),
print.subj.sa = FALSE,
print.lambda = FALSE,
print.iter = FALSE
)
N |
A scalar value determining the number of images to create. |
xlim, ylim |
These are the 2D image limits. Defaults for both are
|
radius.bounds |
A 2-element vector whose first and second entries
determine the minimum and maximum radius sizes, respectively; these will
be the bounds of the uniform distribution used to draw the radii. If
|
lambda |
A scalar value specifying the mean/intensity value of the
Poisson process. If |
lambda.sd |
Only utilized when |
lambda.bound |
Only utilized when |
prior |
Only utilized when |
random.lambda |
|
sub.area |
When |
min.sa, max.sa |
Only utilized when |
radius.bounds.min.sa, radius.bounds.max.sa |
Only utilized when
|
print.subj.sa, print.lambda, print.iter |
These arguments are either
|
A dataframe with columns for subject ID, x-coordinates, y-coordinates, and associated radii.
Cressie+Wikle:2011sim2Dpredictr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.