Learn R Programming

provenance (version 1.4)

SH.diss: Sircombe and Hazelton distance

Description

Calculates Sircombe and Hazelton's L2 distance between the Kernel Functional Estimates (KFEs, not to be confused with Kernel Density Estimates!) of two samples with specified analytical uncertainties

Usage

SH.diss(x, i, j, c.con = 0)

Arguments

x
an object of class distributional
i
index of the first sample
j
index of the second sample
c.con
smoothing bandwidth of the kernel functional estimate

Value

  • a scalar value expressing the L2 distance between the KFEs of samples i and j

References

Sircombe, K. N., and M. L. Hazelton. "Comparison of detrital zircon age distributions by kernel functional estimation." Sedimentary Geology 171.1 (2004): 91-111.

See Also

KS.diss

Examples

Run this code
datfile <- system.file("DZ.csv",package="provenance")
errfile <- system.file("DZerr.csv",package="provenance")
DZ <- read.distributional(datfile,errfile)
d <- SH.diss(DZ,1,2)
print(d)

Run the code above in your browser using DataLab