hemilist.wrap: Wrap data into a named hemi list.

View source: R/hemilist.R

hemilist.wrapR Documentation

Wrap data into a named hemi list.

Description

Wrap data into a named hemi list.

Usage

hemilist.wrap(data, hemi, hemilist = NULL)

Arguments

data

something to wrap, typically some data for a hemisphere, e.g., a vector of morphometry data values. If NULL, the name will not be created.

hemi

character string, one of 'lh' or 'rh'. The name to use for the data in the returned list.

hemilist

optional hemilist, an existing hemilist to add the entry to. If left at the default value 'NULL', a new list will be created.

Value

a hemilist: a named list, with the 'data' in the name given by parameter 'hemi'

See Also

Other hemilist functions: hemilist(), hemilist.derive.hemi(), hemilist.from.prefixed.list(), hemilist.get.combined.data(), hemilist.unwrap(), is.hemilist()


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.