scatterhist: Create Scatter Histogram

View source: R/scatterhist.r

scatterhistR Documentation

Create Scatter Histogram

Description

Plots a scatterplot and histogram. From MATH 4753 Lab 1

Usage

scatterhist(x, y, xlab = "", ylab = "", col = "black")

Arguments

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

Examples

Speed <- cars$speed
Distance <- cars$dist
scatterhist(Speed, Distance, xlab = "Speed", ylab = "Distance")


bbydino/ISSA-ROCK-AND-ROLL documentation built on April 27, 2022, 10:03 p.m.