marginal_histogram_plot: Marginal histogram scatterplot

Description Usage Arguments Examples

View source: R/plotting_utilities.R

Description

As in page 134 of "The Visual Display of Quantitative Information" by E.R. Tufte

Usage

1
2
3
4
5
6
7
8
marginal_histogram_plot(
  data_in,
  xname,
  yname,
  margin_type = "histogram",
  xlab = NULL,
  ylab = NULL
)

Arguments

data_in

Dataframe in

xname

Name of the column for the X axis

yname

Name of the column for the Y axis

margin_type

Can be "histogram" "density" "violin" or "boxplot"

xlab

Title of the X axis, default NULL

ylab

Title of the Y axis, default NULL

Examples

1
marginal_histogram_plot(iris, "Sepal.Width", "Petal.Length", "Sepal Length" , "Petal Length")

alesaccoia/alexr documentation built on Dec. 19, 2021, 12:26 a.m.