Description Usage Arguments Details Value Author(s) References
Plot image TS chips from 3 raster bricks (as RGB composites) based on a location, area buffer, and time buffer
1 2 3 4 |
loc |
Location. Can be a vector of length 2 representing the x,y coordinates, or a SpatialPolygons or SpatialPoints object of |
start |
Date. OptionaL: earliest date ("yyyy-dd-mm") to display. |
end |
Date. Optional: latest date ("yyyy-dd-mm") to display. |
buff |
Numeric. Number of pixels to buffer the location in all directions. A higher buffer will essentially zoom out. |
percNA |
Numeric. Maximum allowable % NA in the cropped image chips |
plot |
Logical. Plot individual band time series? |
exportChips |
Logical. Export processed chips to workspace as a list of rasterBricks (R, G, B)? |
exportZoo |
Logical. Export pixel time series as |
textcol |
Character. Colour of text showing image date (can also be hexadecimal) |
plotlabs |
Character. Vector of length 3 indicating the labels for each of the zoo plots (if |
... |
Arguments to be passed to |
xr/xg/xb |
RasterBrick. Image time series bricks representing the red, green and blue channel, respectively |
nc/nr |
Numeric. Number of columns and rows to plot, respectively. If the number of layers is greater than |
show |
Logical. Show image chips? Set to |
see http://bendv.github.io/timeSyncR/ for a short tutorial on tsChipsRGB
NULL
if exportZoo = FALSE
and exportChips = FALSE
or a list of zoo
time series objects if exportZoo = TRUE
, or a list of subsetted and cropped rasterBricks if exportChips = TRUE
, with the side effect of time series chips being plotted in all cases. If both exportChips
and exportZoo
are TRUE
, a list consisting both lists will be returned.
Ben DeVries
Cohen, W. B., Yang, Z., Kennedy, R. (2010). Detecting trends in forest disturbance and recovery using yearly Landsat time series: 2. TimeSync - Tools for calibration and validation. Remote Sensing of Environment, 114(12), 2911-2924.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.