Skip to contents

Internal function to validate the default value of the argument df.

Usage

validate_arg_df_not_null(df = NULL, function_name = NULL)

Arguments

df

(required; dataframe, tibble, or sf) A dataframe with responses (optional) and predictors. Must have at least 10 rows for pairwise correlation analysis, and 10 * (length(predictors) - 1) for VIF. Default: NULL.

function_name

(optional, character string) Name of the function performing the argument check. Default: NULL

Value

dataframe

Examples

data(vi_smol)
df <- validate_arg_df_not_null(
  df = vi_smol
  )