Resample an object with a new spacing

resample a neuron with a new spacing

resample(x, ...)

# S3 method for neuron
resample(x, stepsize, ...)

Arguments

x

An object to resample

...

Additional arguments passed to methods

stepsize

The new spacing along the tracing

Details

resample.neuron Floating point columns including X,Y,Z,W will be interpolated using linear interpolation, while integer or factor columns will be interpolated using constant interpolation. See approx for details.

See also