| map_mnirs_intervals | R Documentation |
Shared entry point for *_mnirs() transformer functions accepting a list
of data frames or a grouped data frame. Normalises data to a named list
via as_data_list(), then re-evaluates the captured user-facing call once
per interval with data swapped, so all arguments (including NSE channel
expressions) are forwarded verbatim.
map_mnirs_intervals(data, call, eval_env, env = rlang::caller_env())
data |
A data frame of class "mnirs" containing time series data and metadata, a list of data frames, or a grouped data frame (see Details). |
call |
The matched call from the user-facing function, re-evaluated
with |
eval_env |
Environment in which to re-evaluate |
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. |
A named list of class "mnirs" containing processed "mnirs" data frames, one per interval.
mnirs processing functions accept data in multiple formats:
A single "mnirs" data frame is processed and returned directly.
A list of "mnirs" data frames: each interval is processed separately and returned as a named list.
A grouped "mnirs" data frame, e.g. with dplyr::group_by(): the
data frame is split by grouping levels and each group is processed as
a separate interval, returned as a named list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.