| Type: | Package |
| Title: | Simulated Point-Pattern via Vectorized Parameterization |
| Version: | 0.3.3 |
| Date: | 2026-11-20 |
| Description: | An intuitive interface to simulate superimposed (marked) point patterns with vectorized parameterization of random point pattern and distribution of marks. The author has retired from academic research. Accordingly, this package should not be considered a validated tool for use in peer-reviewed publications or as the basis for grant applications. |
| Encoding: | UTF-8 |
| License: | GPL-2 |
| Language: | en-US |
| Depends: | R (≥ 4.6) |
| Imports: | spatstat.geom, spatstat.random |
| Config/roxygen2/version: | 8.1.1 |
| Config/roxygen2/markdown: | TRUE |
| NeedsCompilation: | no |
| Packaged: | 2026-11-20 21:02:23 UTC; tingtingzhan |
| Author: | Tingting Zhan [aut, cre] |
| Maintainer: | Tingting Zhan <tingtingzhan@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2026-11-20 21:20:02 UTC |
groupedHyperframe.random: Simulated Point-Pattern via Vectorized Parameterization
Description
An intuitive interface to simulate superimposed (marked) point patterns with vectorized parameterization of random point pattern and distribution of marks. The author has retired from academic research. Accordingly, this package should not be considered a validated tool for use in peer-reviewed publications or as the basis for grant applications.
Note
The author of this package has retired from academic life and bears no ongoing obligation to any research program, institution, or funding agency. This package is no longer actively maintained as a research tool. Users are strongly advised against relying on this package for academic research, manuscript preparation, or grant applications.
Author(s)
Maintainer: Tingting Zhan tingtingzhan@gmail.com
Authors:
Tingting Zhan tingtingzhan@gmail.com
Superimposed (Marked) Point Pattern
Description
To simulate superimposed ppp.object(s), with none or one or multiple marks.
Usage
.rppp(..., win = square(), n = 1L, envir = parent.frame())
Arguments
... |
one or more calls. |
win |
owin.object, an observation window. Default value is the returned object of the function square (or the function unit.square, which is identical) |
n |
integer scalar, number of ppp.objects to generate. Default value is |
envir |
environment, in which to evaluate the |
Value
The function .rppp() returns a length-n solist, which also has a derived class 'ppplist'.
The returned ppp.object(s) contain only x- and y-coords, if only one call is present in the ... dyn-dots argument. Otherwise, they contain one or more marks according to the rest of the call(s) in the ... argument.
Note
The function name rppp() is too aggressive, which might be claimed in future by the package spatstat.random.
Therefore the author names this function .rppp() as if it is hidden (see the parameter all.names of the function ls).
Examples
set.seed(12); .rppp(
rMatClust(kappa = c(10, 5), mu = c(8, 4), scale = c(.15, .06))
)
set.seed(25); .rppp(
rMatClust(kappa = c(10, 5), mu = c(8, 4), scale = c(.15, .06)),
rlnorm(meanlog = c(3, 5), sdlog = c(.4, .2)),
rnbinom(size = 4, prob = .3) # shorter arguments recycled
)