stackedBarData: Create the data required to create the stacked bars for a...

Description Usage Arguments Value Examples

View source: R/stackedBarData.R

Description

Create the data required to create the stacked bars for a time series.

Usage

1
stackedBarData(cattrajectory, timePoints, pixelSize = c(1000, 1000))

Arguments

cattrajectory

A data frame containing the X,Y, and binary values for pixels in each input map.

timePoints

A vector containing the time points for the time series in chronological order.

pixelSize

A vector containing the pixel size for the raster files. The default is 1000 X 1000 meters.

Value

"NonetData"= Components of gains and losses "NetData" = Components of net gain s and net losses "GrossGain" = Size of gross gain "GrossLoss" = Size of gross loss

Examples

1
2
3
4
5
6
7
8
9
time_points <- c(2000,2001,2002,2003)
## Not run: 
data gets results from the catTrajectory function

## End(Not run)
## Not run: 
stackedBarData(cattrajectory = data,timePoints = time_points,pixelSize = c(1000,1000)))

## End(Not run)

bilintoh/timecomptest documentation built on Dec. 19, 2021, 9:42 a.m.