Learn R Programming

nat (version 1.0.1)

is.neuronlist: Create and test objects of neuronlist class to store multiple neurons

Description

neuronlist objects consist of a list of neuron objects along with an optional attached dataframe containing information about the neurons. neuronlist objects can be indexed using their name or the number of the neuron like a regular list. If the [ operator is used to index the list, the attached dataframe will also be subsetted.

It is perfectly acceptable not to pass any parameters, generating an empty neuronlist

Usage

is.neuronlist(x)

neuronlist(..., DATAFRAME = NULL)

Arguments

x
A neuronlist object
...
objects to be turned into a list
DATAFRAME
an optional data.frame to attach to the neuronlist containing information about each neuron.

Value

  • return value

    return value

Details

is.neuronlist Uses a relaxed definition to cope with older lists of neurons that do not have a class attribute of neuronlist

See Also

Other neuronlist: as.neuronlistfh, as.neuronlistfh.default, as.neuronlistfh.filehash, as.neuronlistfh.neuronlist, is.neuronlistfh, neuronlistfh, neuronlistfh; nlapply

Examples

Run this code
# generate an empty neuronlist
nl=neuronlist()
# slice an existing neuronlist with regular indexing
kcs5=kcs20[1:5]

Run the code above in your browser using DataLab