Last chance! 50% off unlimited learning
Sale ends in
powered by
Generates a quasirandom pattern of points in any two-dimensional window.
rQuasi(n, W, type = c("Halton", "Hammersley"), ...)
Point pattern (object of class "ppp") inside the window W.
"ppp"
W
Maximum number of points to be generated.
Window (object of class "owin") in which to generate the points.
"owin"
String identifying the quasirandom generator.
Arguments passed to the quasirandom generator.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
, Rolf Turner r.turner@auckland.ac.nz
and Ege Rubak rubak@math.aau.dk.
This function generates a quasirandom point pattern, using the quasirandom sequence generator Halton or Hammersley as specified.
Halton
Hammersley
If W is a rectangle, exactly n points will be generated.
n
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.
as.rectangle(W)
plot(rQuasi(256, letterR))
Run the code above in your browser using DataLab