Learn R Programming

catalytic (version 0.1.0)

is.continuous: 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)

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.

Arguments

lst

A vector to be checked.