plot_date_eu: A plotting function for (U-Th)/He data

View source: R/plot_date_eU.R

plot_date_euR Documentation

A plotting function for (U-Th)/He data

Description

This function will take a tidy dataframe of (U-Th)/He data and make simple plots it

Usage

plot_date_eu(
  hedf,
  bestfitdf = NULL,
  synthetic = NULL,
  eUbin = NULL,
  facet_vars = "Sample",
  helim = c(NA, NA),
  eUlim = c(NA, NA)
)

Arguments

hedf

tidy dataframe with columns labeled "eU", "Date", "Unc","Color", and "Sample"

bestfitdf

dataframe containing prediction of best fit path from hefty. must have column names equal to "eU" and "Date"

synthetic

dataframe containing binned or averaged ages used in HeFTy modelling. must have column names equal to "eU", "Date", and "Unc"

eUbin

value or vector for eU value(s) where bins are split for HeFTy modeling

facet_vars

which variable to facet on, defaults to 'Sample'. Currently the only option

helim

limits for the y (He date) axis, must be a vector of 2-defaults to NA which lets ggplot set axis limits

eUlim

limits for the x (eU) axis, must be a vector of 2-defaults to NA which lets ggplot set axis limits


jstanley26/thermochronplotr documentation built on June 4, 2022, 11:05 a.m.