Description Usage Arguments Examples
View source: R/plotting_utilities.R
As in page 134 of "The Visual Display of Quantitative Information" by E.R. Tufte
1 2 3 4 5 6 7 8 | marginal_histogram_plot(
data_in,
xname,
yname,
margin_type = "histogram",
xlab = NULL,
ylab = NULL
)
|
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 |
1 | marginal_histogram_plot(iris, "Sepal.Width", "Petal.Length", "Sepal Length" , "Petal Length")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.