Learn R Programming

UsingR (version 2.0-7)

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

See Also

layout

Examples

Run this code
# NOT RUN {
  x<-sort(rnorm(100))
  y<-sort(rt(100,3))
  simple.scatterplot(x,y)

# }

Run the code above in your browser using DataLab