View source: R/values-functions.R
points2intervals | R Documentation |
Evaluate intervals vector from points vector.
points2intervals(x)
x |
the puntual coordinate vector |
Voxel coordinates are usually specified by indicating (x,y,z) the middle point. Another way is to indicate the intervals (xmin,xmax), (ymin,ymax) (zmin,zmax). Since it is assumed that voxels are contiguous, xmax[i] = xmin[i-1], for each axis the coordinates can be stored in a single vector.
the intervals vector (the length of this vector is Nx+1, where Nx = length(x))
Other Values Utilities: evaluate.epl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.