Description Usage Arguments Details Value See Also
View source: R/plot.triangle.matches.R
This plot function adds a layer to plot.triangle.psa
drawing
matched triplets. If p
is supplied, this function will simply draw on
top of the pre-existing plot, otherwise plot.triangle.psa
will
be called first.
1 2 3 4 |
x |
matched triplets from |
sample |
an number between 0 and 1 representing the percentage of matched triplets to draw. |
rows |
an integer vector corresponding to the rows in |
line.color |
the line color. |
line.alpha |
the alpha for the lines. |
point.color |
color of matched triplet points. |
point.size |
point size for matched triplets. |
p |
a ggplot to add the match lines. If NULL, then |
... |
other parameters passed to |
If this function calls plot.triangle.psa
, it will only draw
line segments and points for those data rows that were used in the matching
procedure. That is, data elements not matched will be excluded from the
figure. To plot all segments and points regardless if used in matching, set
p = plot(tpsa)
.
a ggplot2
graphic.
plot.triangle.psa
triangle.match
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.