calc_dens {detzrcr}R 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


[Package detzrcr version 0.3.1 Index]