*.neuronlist {nat}R Documentation

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 class 'neuronlist'
x * y

## S3 method for class 'neuronlist'
x + y

## S3 method for class 'neuronlist'
x - y

## S3 method for class 'neuronlist'
x / y

Arguments

x

a neuronlist

y

(a numeric vector to multiply coords in neuronlist members)

Value

modified neuronlist

See Also

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

Examples

mn2<-Cell07PNs[1:10]*2

[Package nat version 1.8.24 Index]