Description Usage Arguments Details Examples
Quick X-Y plot to compare contents of two vectors. If vectors have row names, use that to key them for comparison.
1 |
a |
First array |
b |
Second array |
xlab |
Default x-axis label |
ylab |
Default y-axis label |
... |
Additional arguments passed to |
I constantly find myself comparing two vectors to see if they are equal. A quick X-Y plot is a great way to do this visually and is better than correlation at spotting outliers or other structure.
Usually pass two column-like things (matrices or data frames), usually keyed by row names. But can pass two list-like things (e.g. numerics) or even a two-column data frame/matrix. (Columns to the right of the first two are ignored).
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.