plot_dens_hist {detzrcr} | R Documentation |
Plot 1d density with histogram
Description
Creates density and histogram plot of U-Pb data.
Usage
plot_dens_hist(
dat,
bw = 30,
binwidth = 50,
type = "kde",
age_range = c(0, 4560),
facet = FALSE,
fixed_y = FALSE,
step = 200
)
Arguments
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 |
Value
ggplot2 1d density plot with histogram
[Package detzrcr version 0.3.1 Index]