rQuasi | R Documentation |
Generates a quasirandom pattern of points in any two-dimensional window.
rQuasi(n, W, type = c("Halton", "Hammersley"), ...)
n |
Maximum number of points to be generated. |
W |
Window (object of class |
type |
String identifying the quasirandom generator. |
... |
Arguments passed to the quasirandom generator. |
This function generates a quasirandom point pattern,
using the quasirandom sequence generator
Halton
or Hammersley
as specified.
If W
is a rectangle,
exactly n
points will be generated.
If W
is not a rectangle, n
points will be generated in the
containing rectangle as.rectangle(W)
,
and only the points lying inside W
will be retained.
Point pattern (object of class "ppp"
) inside the window W
.
, \rolf
and \ege.
Halton
plot(rQuasi(256, letterR))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.