scaleRaster: scaleRaster

Description Usage Arguments Details Author(s) Examples

View source: R/scaleRaster.R

Description

The scaling function takes up a raster::stack and scales it.

Usage

1
scaleRaster(rstck, scalefac = 10000, incon = NA, outputfilepathes)

Arguments

rstck

rstck raster stack

scalefac

Set scaling factor (default= 10000), factor to divide initial raster values

incon

Dealing with rejected values (default = NA)

outputfilepathes

Set output file path

Details

Scale raster data

The function changes the scaling (default = /10000) and rejects inconsistend values (default = NA). The function writes scaled GeoTiffs and returns also a raster stack.

Author(s)

Santwoski, A. & C. Weber

Examples

1
2
3
4
5
## Not run: 
fn <-
scaling(rstck, scalefac = 1000, incon = NA)

## End(Not run)

marburg-open-courseware/beechForestDynamics documentation built on May 7, 2019, 3:14 p.m.