Description Usage Arguments Value
Variables are considered discrete if they have fewer unique, non-missing values than cutoff
or they are factors. Otherwise, variables are considered continuous.
1 | is.discrete(data, cutoff = 10)
|
data |
A data frame, matrix or vector of values to be evaluated. |
cutoff |
A numeric scalar identifying the cutoff relative to the number of unique, non-missing values for ‘discreteness’. |
A logical vector indicating whether variables are discrete (TRUE
) or continuous FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.