Description Usage Arguments Value Note See Also Examples
An internal function that returns the number of sparse response categories in a vector v.
1 | n_sparse(v, min_f = 5)
|
v |
A vector, usually of self-report items, and usually numeric. |
min_f |
The threshold for non-sparse frequencies. Any category less than min_f will be flagged as sparse. |
The number of sparse responses (i.e., < min_f) in v.
This is intended as an internal function to the collapse() function. Use with care for other purposes.
collapse()
n_resp_cats()
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.