calc_dens: Calculate 1D density of age data

View source: R/calculations.R

calc_densR Documentation

Calculate 1D density of age data

Description

Calculate the 1d density of U-Pb age data using KDE or PDD.

Usage

calc_dens(dat, bw = 30, type = "kde", age_range = c(0, 4560))

Arguments

dat

data.frame containing at least ages and percentage of discordancy

bw

Bandwidth

type

Type to calculate 'kde': proper KDE; 'pdd': detrital zircon PDD

age_range

Range over which to calculate density

Value

Density


magnuskristoffersen/detzrcr documentation built on Nov. 17, 2022, 12:48 a.m.