Description Usage Arguments Details Value Examples
This function subsets the data frame generated by bfastSpatial
by
location.
1 | subset_bfast(bfast_in, template, boundary, inverse = FALSE)
|
bfast_in |
A data frame generated by |
template |
A Raster object with the same resolution, extent, and
projection as the raster dataset used to generate |
boundary |
A SpatialPolygons object used to define the subset. |
inverse |
A logical indicating if the spatial subset defined by
|
This function is useful because the full data frame may be too large for easy
data manipulation. This function may also be used in conjunction with
summary_stat
for zonal statistics.
A data frame subsetted according to boundary
.
1 2 3 4 | ## Not run:
subset_bfast(bf_df, raster(C:/Desktop/MODIS_NDVI.tif), bnd)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.