validate_input_column: Validate Input Column

View source: R/validate_input_column.R

validate_input_columnR Documentation

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)

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?

Value

None


grizbayr documentation built on Oct. 9, 2023, 5:10 p.m.