Description Usage Arguments Value
Calculates 1d density of age data and scales it so that it can be plotted in the same plot of a histogram of the age data
| 1 2 3 4 5 6 7 | calc_dens_hist(
  dat,
  binwidth = 50,
  bw = 30,
  type = "kde",
  age_range = c(0, 4560)
)
 | 
| dat | data.frame | 
| binwidth | Histogram binwidth | 
| bw | Density bandwidth | 
| type | 'kde': KDE; 'pdd': detrital zircon PDD | 
| age_range | Age range to calculated density over | 
Returns density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.