Learn R Programming

nat (version 1.8.24)

*.neuronlist: Arithmetic for neuron coordinates applied to neuronlists

Description

If x is one number or 3-vector, multiply coordinates by that If x is a 4-vector, multiply xyz and diameter TODO Figure out how to document arithemtic functions in one go

Usage

# S3 method for neuronlist
*(x, y)

# S3 method for neuronlist +(x, y)

# S3 method for neuronlist -(x, y)

# S3 method for neuronlist /(x, y)

Value

modified neuronlist

Arguments

x

a neuronlist

y

(a numeric vector to multiply coords in neuronlist members)

See Also

Other neuronlist: is.neuronlist(), neuronlist-dataframe-methods, neuronlistfh(), neuronlist(), nlapply(), read.neurons(), write.neurons()

Examples

Run this code
mn2<-Cell07PNs[1:10]*2

Run the code above in your browser using DataLab