calc_dens: Calculate 1D density of age data

Description Usage Arguments Value

View source: R/calculations.R

Description

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

Usage

1
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


detzrcr documentation built on July 23, 2020, 9:06 a.m.