Creates an lgcp grid object from an 2-dimensional matrix.
# S3 method for matrix
lgcpgrid(grid, xvals = 1:nrow(grid), yvals = 1:ncol(grid), ...)
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.
other arguments
an object of class lgcpgrid
lgcpgrid.list, as.list.lgcpgrid, print.lgcpgrid, summary.lgcpgrid, quantile.lgcpgrid, image.lgcpgrid, plot.lgcpgrid