Creates an lgcp grid object from an 3-dimensional array.
# S3 method for array
lgcpgrid(
grid,
xvals = 1:dim(grid)[1],
yvals = 1:dim(grid)[2],
zvals = 1:dim(grid)[3],
...
)
a three dimensional array object
optional vector of x-coordinates associated to grid. By default, this is the cell index in the x direction.
optional vector of y-coordinates associated to grid. By default, this is the cell index in the y direction.
optional vector of z-coordinates (time) associated to grid. By default, this is the cell index in the z direction.
other arguments
an object of class lgcpgrid
lgcpgrid.list, as.list.lgcpgrid, print.lgcpgrid, summary.lgcpgrid, quantile.lgcpgrid, image.lgcpgrid, plot.lgcpgrid