TagCount: Get Tag Count.

Description Usage Arguments Value Examples

View source: R/tag_count.R

Description

TagCount in reality is not specific to tags, rather this function will yield record count by some variable 'v' for which '.subset' yields true. Ideally we use TagCount to count tags (released or returned) by tag value (i.e, non-reward and [or] dollar values).

Usage

1
TagCount(data, .by, .subset, total = FALSE)

Arguments

data

Dataframe with tag (return or release) data.

.by

Single field name (non-quoted) in 'data' on which to aggregate record (tag) count.

.subset

Logical. Booleans on which to count. Any grouping of Booleans evaluating to 'TRUE' count as 1.

total

Logical. Option to include 'total' count. Default 'FALSE'.

Value

Dataframe with fields 'Val' (as in tag value) & 'N' (count).

Examples

1
# coming soon

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.