R/neuronlist.R
neuronlist-arithmetic.RdIf 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 arithmetic functions in one go
# S3 method for neuronlist *(x, y) # S3 method for neuronlist +(x, y) # S3 method for neuronlist -(x, y) # S3 method for neuronlist /(x, y)
| x | a neuronlist |
|---|---|
| y | (a numeric vector to multiply coords in neuronlist members) |
modified neuronlist
Other neuronlist: is.neuronlist,
neuronlist-dataframe-methods,
neuronlistfh, neuronlist,
nlapply, read.neurons,
write.neurons
mn2<-Cell07PNs[1:10]*2