Learn R Programming

cleanepi (version 1.1.0)

modify_default_params: Update clean_data default argument's values with the user-provided values.

Description

Update clean_data default argument's values with the user-provided values.

Usage

modify_default_params(defaults, params, strict = TRUE)

Value

The updated <list> of parameters that will be used to perform the data cleaning.

Arguments

defaults

A <list> with the default arguments

params

A <list> with the user-specified arguments

strict

A <logical> that specified whether to trigger an error or not when there is a difference between the list of default arguments and list of the arguments provided by the user. Default is TRUE.