CalcStatsRS: Calculates summary statistics from a remote sensing time...

Description Usage Arguments Details Value See Also Examples

View source: R/RS_get.R

Description

CalcStatsRS takes a raster stack/brick of RS images and generates a time series dataframe of summary statistics across the domain for each time step.

Usage

1
CalcStatsRS(inStack)

Arguments

inStack

The name of the raster stack or brick to calculate statistics on.

Details

CalcStatsRS takes a raster stack or brick of remote sensing images over a time period (as created by ConvertRS2Stack or SmoothStack) and generates a dataframe object that summarizes all cells in the RS image at each time step. The statistics calculated are mean, min, max, and standard deviation. This tool is useful for evaluating how a smoothing function is impacting the time series of images.

Value

A dataframe of statistics by time period (date).

See Also

Other MODIS: ConvertRS2Stack, ConvertStack2NC, GapFillRS, GetMODIS, InsertRS, SmoothStack

Examples

1
2
3
4
5
6
7
## Calculate domain statistics and plot the mean.

## Not run: 
stats.lai.b <- CalcStatsRS(lai.b)
with(stats.lai.b, plot(POSIXct, mean, typ='l'))

## End(Not run)

mccreigh/rwrfhydro documentation built on Feb. 28, 2021, 1:53 p.m.