powered by
Shows scatterplot of x vs y with histograms of each on sides of graph. As in the example from layout.
simple.scatterplot(x, y, ...)
Returns the plot
data vector
passed to plot command
John Verzani
layout
x<-sort(rnorm(100)) y<-sort(rt(100,3)) simple.scatterplot(x,y)
Run the code above in your browser using DataLab