plotrr (version 1.0.0)

bivarrugplot: Plots the bivariate relationship between two measures and a rugplot for each measure

Description

Returns a plot of the bivariate relationship between two measures with a rugplot for each measure.

Usage

bivarrugplot(x, y, data)

Arguments

x

A vector.

y

A vector.

data

A data frame.

Value

A plot of the bivariate relationship between two measures with a rugplot for each measure.

Examples

Run this code
# NOT RUN {
a <- runif(1000, min = 0, max = 1)
b <- a + rnorm(1000, mean = 0, sd = 1)
data <- data.frame(a, b)
bivarrugplot("a", "b", data)
# }

Run the code above in your browser using DataCamp Workspace