ra_disaggregate: Function to create a higher resolution ("disaggregate")...

View source: R/ra_disaggregate.R

ra_disaggregateR Documentation

Function to create a higher resolution ("disaggregate") raster layer.

Description

Function to create a higher resolution ("disaggregate") raster layer.

Usage

ra_disaggregate(ra, factor, method = "bilinear")

Arguments

ra

Raster object.

factor

Amount of disaggregation in number of cells or as a multiplier to increase ra's current resolution.

method

Method to use for interpolation.

Value

Raster object.

Author(s)

Stuart K. Grange

See Also

disaggregate

Examples

## Not run: 

# Increase a raster layer's resolution by five times
ra_countries_smooth <- ra_disaggregate(ra_countries, factor = 5)


## End(Not run)


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.