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)

Arguments

e1

a neuron

e2

(a numeric vector to multiply neuron coords in neuron)

Value

modified neuron

See also

neuron

Examples

n1<-Cell07PNs[[1]]*2
n2<-Cell07PNs[[1]]*c(2,2,2,1)
stopifnot(all.equal(n1,n2))
n3<-Cell07PNs[[1]]*c(2,2,4)