note that scale.dotprops recalculates the tangent vectors after scaling the 3D coords. See dotprops for details.

# S3 method for neuron
scale(x, center = TRUE, scale = TRUE)

# S3 method for dotprops
scale(x, center = TRUE, scale = TRUE)

## Arguments

x A neuron 3-vector to subtract from x,y,z coords 3-vector used to divide x,y,z coords

## Value

neuron with scaled coordinates

## Details

If scale=TRUE, the neuron will be rescaled to unit sd in each axis. If center=TRUE, the neuron will be centred around the axis means. See base::scale.default for additional details.

scale.default, Ops.neuron
n1.scaledown=scale(Cell07PNs[[1]],scale=c(2,2,3))