lgcpgrid.array: lgcpgrid.array function

View source: R/lgcpMethods.R

lgcpgrid.arrayR Documentation

lgcpgrid.array function

Description

Creates an lgcp grid object from an 3-dimensional array.

Usage

## S3 method for class 'array'
lgcpgrid(
  grid,
  xvals = 1:dim(grid)[1],
  yvals = 1:dim(grid)[2],
  zvals = 1:dim(grid)[3],
  ...
)

Arguments

grid

a three dimensional array object

xvals

optional vector of x-coordinates associated to grid. By default, this is the cell index in the x direction.

yvals

optional vector of y-coordinates associated to grid. By default, this is the cell index in the y direction.

zvals

optional vector of z-coordinates (time) associated to grid. By default, this is the cell index in the z direction.

...

other arguments

Value

an object of class lgcpgrid

See Also

lgcpgrid.list, as.list.lgcpgrid, print.lgcpgrid, summary.lgcpgrid, quantile.lgcpgrid, image.lgcpgrid, plot.lgcpgrid


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.