build_grid: Create the raster grid for the analysis.

Description Usage Arguments Value Examples

Description

Create the raster grid for the analysis.

Usage

1
build_grid(veg_box, resolution = 8000, proj = "+init=epsg:3175")

Arguments

veg_box

The bounding box for the vegetation data, as a vector with elements c(W,S,N,E).

resolution

The grid resolution for the output raster, in the native output projection.

proj

A projection string using proj4 standards. Default is Gt. Lakes & St. Lawrence Albers: '+init=epsg:3175'.

Value

A raster, returned from the raster package.

Examples

1
2
3
4
5
6
7
8
9
   data(plss_vegetation)

   veg_box <- bbox_tran(plss_vegetation, '~ x + y',
                        '+init=epsg:3175',
                        '+init=epsg:3175')

   reconst_grid <- build_grid(veg_box,
                              resolution = 8000,
                              proj = '+init=epsg:3175')

PalEON-Project/stepps-cal documentation built on May 14, 2019, 8:20 a.m.