
Last chance! 50% off unlimited learning
Sale ends in
Plot a Halton lattice
plotLattice(latt, indices = NULL, J = NULL, bases = c(2, 3), box = NULL, ...)
A list containing the Halton boxes in the lattice. One item in the list for each Halton box. Each list item is a 2 X 2 matrix where first row is min and max of dimension 1, second row is min and max of dimension 2.
The halton indices of all boxes. length(latt)
must equal
length(indices)
and indices[i]
is the index of box latt[[i]]
.
If missing or NULL, indices are not printed.
A 2X1 vector of base powers. J[1]
is for horizontal,
J[2]
for vertical dimension. J
determines the size and shape
of the smallest Halton boxes. There are bases[1]^J[1]
vertical columns
of Halton boxes over x
's bounding box, and bases[2]^J[2]
horizontal rows of Halton boxes over the bounding box, for a total
of prod(bases^J)
boxes. The dimension of each box is
c(dx,dy)/
(bases^J)
, where c(dx,dy)
are the horizontal and
vertical extents of x
's bounding box. If J=NULL
(the default),
J
is chosen so that Halton boxes are as square as possible.
2X1 vector of Halton bases. These must be co-prime.
The bounding box of all the halton boxes in latt
. If missing
or NULL, the min and max extent of latt
are used.
Options of graphics::lines
that control appearance of
the boxes. For example,
lty
, col
, etc.
NULL is returned invisibly.
Lines on the current plot are produced.