raster_projection: CREATE RASTER PROJECTIONS

View source: R/raster_projection.R

raster_projectionR Documentation

CREATE RASTER PROJECTIONS

Description

Create a stack raster map with species model predictions

Usage

raster_projection(
  df,
  spsNames = NULL,
  ras = NULL,
  crs = "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0"
)

Arguments

df

predicted model data frame

spsNames

species names to build maps from

ras

raster template in case extent, resolution and CRS are to be set at once

crs

CRS object or a character string describing a projection and datum in PROJ.4 format

Details

Returns an error if filename does not exist.

Value

Raster stack

Examples

## Not run: 
accident_2015 <- fars_read("Project/data/accident_2015.csv.bz2")

## End(Not run)


agarciaEE/NINA documentation built on Jan. 9, 2025, 10:09 a.m.