S4 methods for HexData objects. These provide standard R operations for accessing data, subsetting, and conversion.
Usage
# S4 method for class 'HexData'
grid_info(x)
# S4 method for class 'HexData'
cells(x)
# S4 method for class 'HexData'
n_cells(x)
# S4 method for class 'HexData'
nrow(x)
# S4 method for class 'HexData'
ncol(x)
# S4 method for class 'HexData'
dim(x)
# S4 method for class 'HexData'
names(x)
# S4 method for class 'HexData'
x$name
# S4 method for class 'HexData'
x$name <- value
# S4 method for class 'HexData'
x[i, j, ..., drop = FALSE]
# S4 method for class 'HexData'
x[[i]]
# S4 method for class 'HexData,ANY,missing'
x[[i, j]] <- value
# S4 method for class 'HexData'
show(object)
# S4 method for class 'HexData'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
# S4 method for class 'HexData'
as.list(x, ...)Value
grid_info: HexGridInfo object containing grid specificationcells: Numeric vector of unique cell IDsn_cells: Integer count of unique cellsnrow,ncol,dim: Integer dimensionsnames: Character vector of column names (including virtual cell columns)$,[[: The requested column or cell data as a vector$<-,[[<-: The modified HexData object[: Subsetted HexData object or extracted datashow: The object, invisibly (called for side effect of printing)as.data.frame: Data frame with original data plus cell columnsas.list: Named list containing data, grid, cell_id, and cell_center