stamp.group.summary {stampr} | R Documentation |
Compile stamp summary statistics by group
Description
The function stamp.group.summary
compiles summary statistics for each STAMP 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.
Usage
stamp.group.summary(stmp, area = TRUE, count = TRUE)
Arguments
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. |
Details
stamp.group.summary
computes area and count summary statistics of STAMP output. Note that if
both area
and count
are set to FALSE
, stamp.group.summary
returns a
data.frame
with just the group IDs as the only column.
Value
A data.frame
where rows are stamp groups and columns correspond to the STAMP event types (ID, areas, and counts).