View source: R/aanalyse_kinetics_helpers.R
| validate_kinetics_args | R Documentation |
Validates each channel's resolved argument list once, before any fitting,
so an invalid argument fails fast rather than after an expensive fit on an
earlier channel. Validation is keyed on which arguments are present.
Mutating validators are applied and written back:
validate_start_time() clamps start_time, and align is matched to its
choices. Verbose hints are emitted for the first channel only to avoid
repeating identical messages.
validate_kinetics_args(
per_channel,
data,
t_vec,
verbose = TRUE,
env = rlang::caller_env()
)
per_channel |
Named list of resolved argument lists, one per channel. |
data |
A data frame of class "mnirs" containing time series data and metadata. |
t_vec |
Numeric vector of |
verbose |
Logical. |
env |
The calling environment or a defused call, used to report errors and warnings as coming from the user-facing function rather than the validator. |
The per_channel list with mutating validators applied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.