R/neuron.R
neuron-arithmetic.Rd
If x is a 1-vector or a 3-vector, operate on xyz only If x is a 4-vector, apply operation to xyz and diameter
# S3 method for neuron Ops(e1, e2 = NULL)
a neuron
(a numeric vector to multiply neuron coords in neuron)
modified neuron
neuron
n1<-Cell07PNs[[1]]*2 n2<-Cell07PNs[[1]]*c(2,2,2,1) stopifnot(all.equal(n1,n2)) n3<-Cell07PNs[[1]]*c(2,2,4)