Internal function to plot histograms for the marginalPlot function

histMarginal(x, at = 0, .range = NULL, breaks = 15, col = c("#FF5000C0",
  "#4682B4A0"), border = c("black", "black"), main = "", dens = FALSE,
  densCol = c("black", "black"), densLwd = c(2, 2), densLty = c(2, 2),
  add = TRUE, res = 500)

Arguments

x

list of vectors. Each vector will be plotted as a separate histogram.

at

y position of the histograms

.range

maximum height of the histogram. If NULL, will be determined automatically

breaks

integer, determining the number of breaks

col

vector of colors determining histogram colors

border

vector of colors determining histogram border colors

main

Character, determining the title of the plot

dens

Logical, determining whether a density plot should be plotted additionally to the histogram

densCol

vector of colors for the density plots

densLwd

line width of the density plot

densLty

line type of the density plot

add

Logical, determining whether the histogram should be added to and existing plot window.

res

resolution of the density overlay