force_min_max_and_int_cnstrs: Force minimum maximum and integer vector constraints

force_min_max_and_int_cnstrsR Documentation

Force minimum maximum and integer vector constraints

Description

force_min_max_and_int_cnstrs() is a Force function that checks if a specified local or global environmental condition is met and if not, updates the specified environment to comply with the condition. Specifically, this function implements an algorithm to force minimum maximum and integer vector constraints. The function returns Table (a tibble).

Usage

force_min_max_and_int_cnstrs(tbl_tb, var_names_chr, min_max_ls, discrete_lgl)

Arguments

tbl_tb

Table (a tibble)

var_names_chr

Variable names (a character vector)

min_max_ls

Minimum maximum (a list)

discrete_lgl

Discrete (a logical vector)

Value

Table (a tibble)


ready4-dev/youthvars documentation built on Nov. 15, 2024, 6:02 a.m.