Description Usage Arguments Value Examples
View source: R/catTrajectory.R
Creates a list of data frames. The first item in the list is the data frame containing the trajectories for creating the map of change.The second data frame contains the data for creating the stacked bars.
1 | catTrajectory(dfRaster, noData = 0, category = 1)
|
dfRaster |
A data frame from a stack or brick of at least 2 raster files. |
noData |
A number representing no data. The default 0. |
category |
A number representing the category of interest. The default 1. |
A list of dataframes. The first item in the list is the data frame containing the trajectories for creating the map of chnchangeThe second data frame contains the data for creating the stacked bars.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
ras <- brick(system.file("external/datarasterutm.tif", package="timeComponents"))
## End(Not run)
## Not run:
df <- as.data.frame(ras, xy = TRUE)
## End(Not run)
## Not run: catTrajectory(dfRaster = df,noData = 0, category = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.