is.continuous {catalytic} | R Documentation |
Check if a Variable is Continuous
Description
This function checks whether a given vector represents a continuous variable. A continuous variable is numeric and has more than two unique values.
Usage
is.continuous(lst)
Arguments
lst |
A vector to be checked. |
Value
A logical value indicating whether the input vector is considered continuous. Returns TRUE
if the vector is numeric and has more than two unique values; otherwise, returns FALSE
.
[Package catalytic version 0.1.0 Index]