Learn R Programming

ursa (version 3.9.4)

commonGeneric: Some generic functions for ursaRaster class.

Description

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

Usage

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

# S3 method for 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.

See Also

duplicated, diff,

Examples

Run this code
# NOT RUN {
a <- ursa_dummy(5)
a[3] <- a[2]
a
duplicated(a)
diff(a)
# }

Run the code above in your browser using DataLab