Title: | Gridded Vectors |
---|---|
Description: | Vectors for cell indexes from raster grids. |
Authors: | Michael D. Sumner [aut, cre] |
Maintainer: | Michael D. Sumner <[email protected]> |
License: | GPL-3 |
Version: | 0.0.0.9000 |
Built: | 2024-11-03 05:51:20 UTC |
Source: | https://github.com/hypertidy/gridcol |
gridcol methods
## S3 method for class 'gridcol' x[i] ## S3 method for class 'gridcol' x[[i]]
## S3 method for class 'gridcol' x[i] ## S3 method for class 'gridcol' x[[i]]
i |
Title
## S3 replacement method for class 'gridcol' x[i] <- value
## S3 replacement method for class 'gridcol' x[i] <- value
value |
Title
grid_spec(x, ...) ## Default S3 method: grid_spec(x, ...) ## S3 method for class 'BasicRaster' grid_spec(x, ...) ## S3 method for class 'gridcol' grid_spec(x, ...) ## S3 method for class 'gridspec' grid_spec(x, ...)
grid_spec(x, ...) ## Default S3 method: grid_spec(x, ...) ## S3 method for class 'BasicRaster' grid_spec(x, ...) ## S3 method for class 'gridcol' grid_spec(x, ...) ## S3 method for class 'gridspec' grid_spec(x, ...)
... |
library(raster) grid_spec(raster(volcano)) grid_spec(grid_spec(raster(volcano))) grid_spec(grid_spec(volcano)) gridcol(1, raster(volcano))
library(raster) grid_spec(raster(volcano)) grid_spec(grid_spec(raster(volcano))) grid_spec(grid_spec(volcano)) gridcol(1, raster(volcano))
Title
gridcol(x, grid, ...) ## S3 method for class 'numeric' gridcol(x, grid, ...) ## S3 method for class 'integer' gridcol(x, grid, ...) ## S3 method for class 'RasterLayer' gridcol(x, grid, ...) gc_tibble(x, ...) ## S3 method for class 'BasicRaster' gc_tibble(x, ...)
gridcol(x, grid, ...) ## S3 method for class 'numeric' gridcol(x, grid, ...) ## S3 method for class 'integer' gridcol(x, grid, ...) ## S3 method for class 'RasterLayer' gridcol(x, grid, ...) gc_tibble(x, ...) ## S3 method for class 'BasicRaster' gc_tibble(x, ...)
... |
library(raster) gridcol(1, raster(volcano)) gridcol(1, volcano) gridcol(seq_len(prod(dim(volcano))), volcano)
library(raster) gridcol(1, raster(volcano)) gridcol(1, volcano) gridcol(seq_len(prod(dim(volcano))), volcano)
raster methods
raster.gridcol(x, ...)
raster.gridcol(x, ...)
x |
raster methods
raster.gridspec(x, ...)
raster.gridspec(x, ...)
... |
X coordinate
x_coord(x, ...) ## S3 method for class 'gridcol' x_coord(x, ...) y_coord(x, ...) ## S3 method for class 'gridcol' y_coord(x, ...)
x_coord(x, ...) ## S3 method for class 'gridcol' x_coord(x, ...) y_coord(x, ...) ## S3 method for class 'gridcol' y_coord(x, ...)
x |
gridcol |
... |
arguments for methods |
x_coord(gridcol(1:10, raster(volcano))) y_coord(gridcol(1:10, raster(volcano)))
x_coord(gridcol(1:10, raster(volcano))) y_coord(gridcol(1:10, raster(volcano)))