nat (version 1.8.16)

nvertices: Find the number of vertices in an object (or each element of a neuronlist)

Description

Find the number of vertices in an object (or each element of a neuronlist)

Usage

nvertices(x, ...)

# S3 method for default nvertices(x, ...)

# S3 method for neuronlist nvertices(x, ...)

Arguments

x

An object with 3d vertices (e.g. neuron, surface etc)

...

Additional arguments passed to methods (currently ignored)

Value

an integer number of vertices (or a vector of length equal to a neuronlist)

Examples

Run this code
# NOT RUN {
nvertices(Cell07PNs[[1]])
nvertices(kcs20)
# }

Run the code above in your browser using DataCamp Workspace