Learn R Programming

grizbayr (version 1.3.5)

validate_input_column: Validate Input Column

Description

Validates the input column exists in the dataframe, is of the correct type, and that all values are greater than or equal to 0.

Usage

validate_input_column(column_name, input_df, greater_than_zero = TRUE)

Value

None

Arguments

column_name

String value of the column name

input_df

Dataframe containing option_name (str) and various other columns depending on the distribution type. See vignette for more details.

greater_than_zero

Boolean: Do all values in the column have to be greater than zero?