bivarrugplot: Plots the bivariate relationship between two measures and a...

Description Usage Arguments Value Author(s) Examples

View source: R/bivarrugplot.r

Description

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

Usage

1

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.

Author(s)

Charles Crabtree ccrabtr@umich.edu

Examples

1
2
3
4
a <- runif(1000, min = 0, max = 1)
b <- a + rnorm(1000, mean = 0, sd = 1)
data <- data.frame(a, b)
bivarrugplot("a", "b", data)

Example output

Warning messages:
1: Use of `data[[x]]` is discouraged. Use `.data[[x]]` instead. 
2: Use of `data[[y]]` is discouraged. Use `.data[[y]]` instead. 
3: Use of `data[[x]]` is discouraged. Use `.data[[x]]` instead. 
4: Use of `data[[y]]` is discouraged. Use `.data[[y]]` instead. 

plotrr documentation built on May 2, 2019, 9:36 a.m.