Creates density and histogram plot of U-Pb data.
plot_dens_hist(
dat,
bw = 30,
binwidth = 50,
type = "kde",
age_range = c(0, 4560),
facet = FALSE,
fixed_y = FALSE,
step = 200
)data.frame
density bandwidth
histogram binwidth
'kde': traditional KDE 'pdd': detrital zircon PDD
range over which to calculate density
logical, facet samples?
logical, fixed y-axis?
specify x-axis steps
ggplot2 1d density plot with histogram