Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simple.scatterplot

Simple scatter plot of x versus y with histograms of each


Description

Shows scatterplot of x vs y with histograms of each on sides of graph. As in the example from layout.

Usage

simple.scatterplot(x, y, ...)

Arguments

x

data vector

y

data vector

...

passed to plot command

Value

Returns the plot

Author(s)

John Verzani

See Also

layout

Examples

x<-sort(rnorm(100))
  y<-sort(rt(100,3))
  simple.scatterplot(x,y)

UsingR

Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition

v2.0-6
GPL (>= 2)
Authors
John Verzani <verzani@math.csi.cuny.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.