redux2isoplotr: Export 'ArArRedux' data to 'IsoplotR'

View source: R/redux2isoplotr.R

redux2isoplotrR Documentation

Export ArArRedux data to IsoplotR

Description

Creates a data object compatible with the IsoplotR package

Usage

redux2isoplotr(
  x,
  irr,
  fract = NULL,
  ca = NULL,
  k = NULL,
  format = 1,
  file = NULL
)

Arguments

x

an object of class redux

irr

the irradiation schedule

fract

list with air shot data (one item per denominator isotope)

ca

an object of class logratios with Ca-interference data (not necessary if interferences are included in X)

k

an object of class logratios with K-interference data (not necessary if interferences are included in X)

format

input format for IsoplotR. I.e. one of

1: 39/40, s[39/40], 36/40, s[36/40], 39/36, s[39/36]

(other formats will be added later)

file

optional (.csv) file name to write the output to.

Value

an object of class ArAr, i.e. a table with the following columns: 'Ar4036', 'errAr4036', 'Ar3936', 'errAr3936', 'Ar4039', and 'errAr4039'

Examples

data(Melbourne)
print(redux2isoplotr(Melbourne$X,Melbourne$irr))

ArArRedux documentation built on July 21, 2026, 1:07 a.m.