as.directorVector | R Documentation |
Internal methods to express a direction (in 2D or 3D) as director vector(s). These functions are not intended for direct use.
as.directorVector(x, ...)
## Default S3 method:
as.directorVector(x, ...)
## S3 method for class 'azimuth'
as.directorVector(x, D = 2, ...)
## S3 method for class 'azimuthInterval'
as.directorVector(x, D = 2, ...)
x |
value of the direction in a certain representation |
... |
extra parameters for generic functionality |
D |
dimension currently used (D=2 default; otherwise D=3; other values are not accepted) |
A 2- or 3- column matrix which rows represents the unit director vector of each direction specified.
default
: default method
azimuth
: method for azimuths
azimuthInterval
: method for azimuthIntervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.