triperplines | R Documentation |
Function to add a point and the corresponding perpendicular lines to all three sides to an existing (barycentric) plot.
triperplines(x, y = NULL, z = NULL, lcol = "red", pch = 17, ...)
x |
fraction of first component
OR 3-element vector (for all three components, omitting |
y |
(optional) fraction of second component. |
z |
(optional) fraction of third component. |
lcol |
line color |
pch |
plotting character. |
... |
Further graphical parameters (see |
Adds a (single!) point and lines to an existing plot (generated by triplot
).
The lines originate from the point and run (perpendicular) towards all three sides.
The lengths (and proportions) of these lines are identical to those of x
, y
and z
.
a 2-column-matrix containing plot coordinates.
Christian Röver, roever@statistik.tu-dortmund.de
triplot
, tripoints
, trilines
, tritrafo
triplot() # empty plot
triperplines(1/2, 1/3, 1/6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.