Skip to contents

This function checks the validity of the input parameters for initializing a variable. It ensures that the necessary conditions are met for the input parameters.

Usage

inputs_checking(list_var, name, mu, sd, level)

Arguments

list_var

List containing the variables to be initialized.

name

Name of the variable.

mu

Mean of the variable.

sd

Standard deviation of the variable (optional).

level

Number of levels for categorical variables.

Examples

inputs_checking(list_var = c(), name = "var1", mu = 0, sd = 1, level = 2)
#> NULL