sumbrk | R Documentation |
Counts the number of values in a vector that are equal to a specified value.
sumbrk(x,trueval=TRUE,na.rm=TRUE)
x |
a character, factor or numeric vector. |
trueval |
the value to be matched in ‘x’. |
na.rm |
whether to remove NA values. |
‘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
Jim Lemon
brkdnNest
sumbrk(sample(LETTERS,100,TRUE),trueval="M")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.