util_as_integer: util_as_integer

Description Usage Arguments Details Value Examples

Description

Coerces raster values to integers

Usage

1
2
3
4
util_as_integer(x)

## S3 method for class 'RasterLayer'
util_as_integer(x)

Arguments

x

raster

Details

Coerces raster values to integers, which is sometimes needed if you want further methods that rely on integer values.

Value

RasterLayer

Examples

1
2

landscapetools documentation built on May 1, 2019, 9:22 p.m.