View source: R/stamp.multichange.r
| stamp.multichange | R Documentation |
The function stamp.multichange is a wrapper function that makes multiple calls to the stamp
function to ease spatial-temporal analysis of multiple years of polygon data
stamp.multichange(polys, changeByRow = TRUE, changeField = "", ...)
polys |
a |
changeByRow |
logical, whether or not each time period is a separate unique row of data (e.g., as per the |
changeField |
string, name of the field which contains time period if changeByRow is FALSE |
... |
list of paramater values to provide to the |
stamp.multichange is a simple wrapper function for the stamp function. The two options for data structure
are those in the katrina data, where each time period is a row, and rows are time-ordered, and the structure of
the mpb data, where time period is specified by a column. Time periods should be ordered from 1 through T.
A sf object which includes all outputs from the calls to the stamp function. If there are T time periods,
there will be T-1 time periods in the resulting sf object.
stamp.stgroup.summary
## Not run:
## NOT RUN ##
data("katrina")
ch <- stamp.multichange(katrina, changeByRow = TRUE, dc = 0, distance = TRUE, direction = FALSE)
STGroup <- stamp.stgroup.summary(ch)
head(STGroup)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.