classRaster_commonGeneric: Some generic functions for 'ursaRaster' class.

commonGenericR Documentation

Some generic functions for ursaRaster class.

Description

Set of generic functions, implemented for objects of ursaRaster class.

Usage

## S3 method for class 'ursaRaster'
duplicated(x, incomparables = FALSE, MARGIN = 2, fromLast = FALSE, ...)

## S3 method for class 'ursaRaster'
diff(x, lag = 1, differences = 1, ...)

Arguments

x

Object of ursaRaster class

incomparables

Passed to S3 method duplicated for class matrix.

MARGIN

Overwitten to value 2. Passed to S3 method duplicated for class matrix.

fromLast

Passed to S3 method duplicated for class matrix.

lag

Passed to default S3 method diff.

differences

Passed to default S3 method diff.

...

Other arguments, which are passed to the respective S3 method.

Value

duplicated(): logical of length equal to number of bands.

diff(): ursaRaster object.

Author(s)

Nikita Platonov platonov@sevin.ru

See Also

duplicated, diff,

Examples

a <- ursa_dummy(5)
a[3] <- a[2]
a
duplicated(a)
diff(a)

ursa documentation built on Sept. 30, 2024, 9:35 a.m.