Description Usage Arguments Details Value Note Author(s) References Examples
used as a helper function to return number of categories of categorical variable
1 | NumCat(ColDes, DataMat, NADes)
|
ColDes |
which column number is the number for the data vector for which number of unique categories to be returned |
DataMat |
this the dataframe or can be a matrix of data with different variables as the columns |
NADes |
this is the value to be used for the missing category of data |
helper function which specifies number of unique categories excluding missing category of a column of a dataframe or matrix
comp1 |
returns numeric value of number of unique categories excluding missing category for vector of data |
No notes
William Terry
No References
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.