Learn R Programming

bioinactivation (version 1.3.0)

check_model_params: Correctness Check of Model Parameters

Description

Makes 3 checks of compatibility between the input parameters for the adjustment and the DOF of the inactivation model selected.

  • Check of equal length of model DOF and input DOF. Raises a warning if failed.

  • Check that every single one of the input DOF is a model DOF. Raises a warning if failed.

  • Check that every single one of the model DOF are defined as an input DOF.

Usage

check_model_params(
  simulation_model,
  known_params,
  starting_points,
  adjust_vars
)

Arguments

simulation_model

character with a valid model key.

known_params

named vector or list with the dof of the model known.

starting_points

named vector or list with the dof of the model to be adjusted.

adjust_vars

logical specifying whether the model variables need to be included in the check (not used for isothermal fit)