Description Usage Arguments Author(s)
This plot makes a normal xy plot, but also has a horizontal, and a vertical histogram, on the top and side of the plot. Original code from Addicted to R: http://wiki.r-project.org/rwiki/doku.php?id=graph_gallery:graph78
1 2 3 4 5 6 7 |
x |
vectors of numbers, can contain NA's |
y |
vectors of numbers, can contain NA's |
breaks |
The number of breaks in the histograms. see ?hist |
xlab |
see ?par. main will be plotted in the top centre of the plot |
ylab |
see ?par. main will be plotted in the top centre of the plot |
main |
see ?par. main will be plotted in the top centre of the plot |
symmetrical |
make the axes symmetrical about zero. allowed values include “” (no change), “x”, make x-axis symmetrical “y”, make y-axis symmetrical “xy”, make both x and y-axes symmetrical “both”, to make the plot square and symmetrical |
axes |
logical: plot the x=0, y=0 axes as dashed lines |
xhist.plot |
plot histograms of data on the x or
yaxis? If both are |
yhist.plot |
plot histograms of data on the x or
yaxis? If both are |
xhist.axis |
logical: add an axis for the x-histogram |
yhist.axis |
logical: add an axis for the y-histogram |
hist.col |
the colour for the histograms |
xhist.col |
the colour for the histograms |
yhist.col |
the colour for the histograms |
... |
further arguments to |
Mark Cowley, 2008-09-02
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.