Learn R Programming

ursa (version 3.9.4)

summary: 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 ursaRaster
summary(object, ...)

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

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

Arguments

object

Object of classes ursaRaster, ursaNumeric, or ursaCategory

Additional arguments affecting the summary produced.

Value

summary for ursaRaster object returns value of function summary.matrix.

summary for ursaValue object returns object of class \dQuote{summaryDefault}.

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.

See Also

summary in package base.

Examples

Run this code
# NOT RUN {
session_grid(NULL)
session_grid(regrid(mul=1/4))
a <- ursa_dummy(nband=3)
print(summary(a))
print(summary(ursa_value(a)))
print(a)
# }

Run the code above in your browser using DataLab