plot_dens_hist: Plot 1d density with histogram

Description Usage Arguments Value

Description

Creates density and histogram plot of U-Pb data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_dens_hist(
  dat,
  bw = 30,
  binwidth = 50,
  type = "kde",
  age_range = c(0, 4560),
  facet = FALSE,
  fixed_y = FALSE,
  step = 200
)

Arguments

dat

data.frame

bw

density bandwidth

binwidth

histogram binwidth

type

'kde': traditional KDE 'pdd': detrital zircon PDD

age_range

range over which to calculate density

facet

logical, facet samples?

fixed_y

logical, fixed y-axis?

step

specify x-axis steps

Value

ggplot2 1d density plot with histogram


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