sumbrk.Rd
Counts the number of values in a vector that are equal to a specified value.
sumbrk(x,trueval=TRUE,na.rm=TRUE)
sumbrk counts the values in x matching a specified value. It is mainly to allow these sums to be calculated in the brkdnNest function.
nil
sumbrk(sample(LETTERS,100,TRUE),trueval="M")
#> [1] 6