| validate_group_channels | R Documentation |
Converts the group_channels argument to a named list of channel-name
vectors. String shortcuts expand against nirs_channels: "ensemble"
places all channels in one group (preserving relative scaling) and
"distinct" places each channel in its own group. Custom list()
groupings may use bare symbols or character names. Groups must be
non-empty and their resulting names must be unique. Channels omitted
from a custom grouping are processed independently, matching
group_intervals behaviour in extract_intervals().
validate_group_channels(
nirs_channels,
group_channels,
data = NULL,
env = rlang::caller_env()
)
nirs_channels |
Character vector of resolved channel names. |
group_channels |
A quosure from |
data |
A data frame for parsing bare-symbol group members. |
env |
Environment for symbol evaluation. |
A uniquely named list of non-empty character vectors covering
all nirs_channels, each channel appearing in exactly one group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.