ra_raster: Function to create a raster object from either a...

View source: R/ra_raster.R

ra_rasterR Documentation

Function to create a raster object from either a raster-extent or spatial object.

Description

Function to create a raster object from either a raster-extent or spatial object.

Usage

ra_raster(x, projection = projection_wgs84(), resolution = NA, values = NA)

ra_set_values(ra, values)

Arguments

x

Raster-extent or spatial object.

projection

x's latitude and longitude projection system. Default is WGS84.

resolution

A vector with the length of 1 or 2 indicating the resolution of the raster object, in the units of projection.

values

Values for the raster object to have. This vector is passed to ra_set_values.

ra

Raster object.


skgrange/gissr documentation built on June 20, 2024, 12:02 a.m.