Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_tidy_oxcalresult

tidy output


Description

Transforms oxcAAR output to a tidy data format. See http://vita.had.co.nz/papers/tidy-data.html and https://CRAN.R-project.org/package=broom

Usage

get_tidy_oxcalresult(x)

## Default S3 method:
get_tidy_oxcalresult(x)

## S3 method for class 'oxcAARCalibratedDate'
get_tidy_oxcalresult(x)

## S3 method for class 'oxcAARCalibratedDatesList'
get_tidy_oxcalresult(x)

Arguments

x

an object of class oxcAARCalibratedDate or oxcAARCalibratedDatesList

Value

a data.frame (with list columns)

Examples

## Not run: 
x <- oxcalCalibrate(c(5000, 4500, 3000), c(20, 50, 60))
get_tidy_oxcalresult(x)
y <- oxcalCalibrate(5000, 20)[[1]]
get_tidy_oxcalresult(y)

## End(Not run)

oxcAAR

Interface to 'OxCal' Radiocarbon Calibration

v1.1.0
GPL-2 | file LICENSE
Authors
Hinz Martin [aut, cre], Clemens Schmid [aut], Daniel Knitter [aut], Carolin Tietze [aut]
Initial release
2021-02-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.