scatterhist | R Documentation |
Plots a scatterplot and histogram. From MATH 4753 Lab 1
scatterhist(x, y, xlab = "", ylab = "", col = "black")
x |
x coordinates for the plot |
y |
y coordinates for the plot |
xlab |
a label for the x axis, defaults to empty string |
ylab |
a label for the y axis, defaults to empty string |
col |
color for the scatter plot |
Speed <- cars$speed Distance <- cars$dist scatterhist(Speed, Distance, xlab = "Speed", ylab = "Distance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.