make_orthogonal_segment | R Documentation |
Computes the start and enpoint of a vector that crosses an input vector orthogonally at its start point, end point or at its midth section.
make_orthogonal_segment(sp, ep, out_length, inters_loc = "m")
sp , ep |
Numeric vectors of length two. Correspond to the start- and end point of the geometrical vector for which to compute the orthogonal vector. |
out_length |
The length/magnitude of the orthogonal vector. |
inters_loc |
The location of the intersection. Valid input options are 'sp', 'ep' or 'm'. |
List of two slots named sp and ep with vectors of length two that correspond to the start- and end point of the crossing vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.