Description Usage Arguments Value Examples
This function detects the type of the variables in a data matrix. Types can be continuous only, categorical only or mixed type. The rule for defining a variable as a categorical variable is when: (1) it is a character vector, (2) it contains no more than n = 5 unique values
1 | Detect(x, n = 5)
|
x |
is the data matrix that need to be detected. |
n |
is a number, indicating how many levels, if outnumbered, can be seen as an numeric variable, rather than a categorical variable. |
the variable type for every column, can either be "numeric" or "character".
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.