View source: R/stamp.stgroup.summary.r
stamp.stgroup.summary | R Documentation |
The function stamp.stgroup.summary
compiles summary statistics for each STAMP space-time grouping.
Specifically, it computes the area of each STAMP event type (e.g., generation, expansion, etc.)
within each grouping. It also computes the number of events belonging to each event type.
stamp.stgroup.summary(stmp, area = TRUE, count = TRUE)
stmp |
a |
area |
logical, whether or not to compute the STAMP event areas. |
count |
logical, whether or not to compute the count of STAMP events within each group. |
stamp.stgroup.summary
computes area and count summary statistics of STAMP output derived from multi-time analysis using stamp.multichange.
stamp.multichange is just a wrapper function for applying stamp to multiple time periods in the same dataset. Note that if
both area
and count
are set to FALSE
, stamp.stgroup.summary
returns a
data.frame
with just the stgroup IDs as the only column.
A data.frame
where rows are stamp groups and columns correspond to the STAMP event types (ID, areas, and counts).
stamp.multichange
## Not run:
##NOT RUN##
library(sf)
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.