raster_import: Imports the raster and creates a raster stack

Description Usage Arguments Value Examples

Description

Imports the raster and creates a raster stack

Usage

1
raster_import(rasters, extents_raster)

Arguments

rasters

A string of raster file names

extents_raster

A raster of the desired study extent.

Value

Objedt predictors - A raster stack

Examples

1
2
3
4
5
6
rasters <- c(
'data/PRISM/PRISM_ppt_30yr_normal_800mM2_annual_asc/ppt_30yr_n.asc',
'data/PRISM/PRISM_tmean_30yr_normal_800mM2_annual_asc/tmean_30yr.asc',
'data/PRISM/PRISM_us_dem_800m_asc/us_dem.asc'
)
raster_import(rasters)

rjBadger/niche.modelR documentation built on May 5, 2019, 12:31 a.m.