Learn R Programming

IBLM (version 1.0.2)

check_data_variability: Check Data Variability for Modeling

Description

Validates that the response variable and all predictor variables have more than one unique value.

Usage

check_data_variability(data, response_var)

Value

Invisibly returns `TRUE` if all checks pass, otherwise throws an error.

Arguments

data

A data frame containing the variables to check.

response_var

Character string naming the response variable in `data`.