View source: R/values-functions.R
get.profiles | R Documentation |
Get multiple profiles (values along a specific axis, or voxel line) from a values
object. The axis is specifed trough the definition of two of the following three coordinates: x, y, z, or with a single ray object for arbitrary directions.
get.profiles(values, variables = NULL, ...)
values |
the |
variables |
the variables to be profiled. If it is not specified, al the available variables in values will be used. |
x, y, z |
definition of the axis (only two coordinates should be defined). For example |
integrate |
perform an integration over the two coordinates (boolean, optional). Note: integration is not yet implemented around an arbitrary ray. |
ray |
The ray object, Note the ray is a data.frame defined by 6 components (X, Y, Z, xn, yn, zn), i.e. point coordinates + normalized vector direction. |
return.voxel.index |
Returns also the index of the voxel crossed by the ray (used only for a ray profile). |
return.xyz |
Returns also the x,y,z of the points along the ray (used only for a ray profile). |
a dataframe containing the specified profile.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.