Description Usage Arguments Details Value See Also Examples
Makes sure the unit argument has one of the many available values.
1 |
unit |
[character] The string to check. |
Functions which produce contingency tables, coocc and summary, have an argument count which can take as many as eight different values which all point to just two unique behaviours. checkCount reduces this multitude to just the two meaningful values. It also throws an error if count is none of the eight possibilities.
[character] Either "o" or "w".
1 2 | soundcorrs:::checkUnit ("occ")
soundcorrs:::checkUnit ("occurrence")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.