classRaster_summary: Summary of raster image.

summaryR Documentation

Summary of raster image.

Description

Function summary for ursaRaster object produces summaries for each band.
Function summary for ursaValue object produces summaries for all values of raster image regardless of bands.

Usage

## S3 method for class 'ursaRaster'
summary(object, ...)

## S3 method for class 'ursaNumeric'
summary(object, ...)

## S3 method for class 'ursaCategory'
summary(object, ...)

Arguments

object

Object of classes ursaRaster, ursaNumeric, or ursaCategory

...

Additional arguments affecting the summary produced.

Details

summary for ursaRaster object applies summary to each column of two-dimensions value matrix and collating the results.
summary for ursaValue object drops dimensions and applies summary to a vector.

Value

summary for ursaRaster object returns value of function summary.matrix.
summary for ursaValue object returns object of class ⁠\dQuote{summaryDefault}⁠.

Author(s)

Nikita Platonov platonov@sevin.ru

See Also

summary in package base.

Examples

session_grid(NULL)
session_grid(regrid(mul=1/4))
a <- ursa_dummy(nband=3)
print(summary(a))
print(summary(ursa_value(a)))
print(a)

nplatonov/ursa documentation built on May 8, 2024, 6:02 p.m.