plot_dens_hist | R Documentation |
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 )
dat |
data.frame |
bw |
density bandwidth |
binwidth |
histogram binwidth |
type |
'kde': traditional KDE 'pdd': detrital zircon PDD |
age_range |
range over which to calculate density |
facet |
logical, facet samples? |
fixed_y |
logical, fixed y-axis? |
step |
specify x-axis steps |
ggplot2 1d density plot with histogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.