| hemilist.from.prefixed.list {fsbrain} | R Documentation |
Create a hemilist from a named list with keys prefixed with 'lh_' and 'rh_'.
Description
A hemilist is a named list with entries 'lh' and/or 'rh', see hemilist.
Usage
hemilist.from.prefixed.list(
named_list,
report_ignored = TRUE,
return_ignored = FALSE
)
Arguments
named_list |
a named list, the keys must start with 'lh_' or 'rh_' to be assigned to the 'lh' and 'rh' entries of the returned hemilist. Other entries will be ignored. |
report_ignored |
logical, whether to print a message with the ignored entries, if any. |
return_ignored |
logical, whether to add a key 'ignored' to the returned hemilist, containing the ignored entries. |
Value
a hemilist
See Also
Other hemilist functions:
hemilist.derive.hemi(),
hemilist.get.combined.data(),
hemilist.unwrap(),
hemilist.wrap(),
hemilist(),
is.hemilist()
[Package fsbrain version 0.5.5 Index]