Learn R Programming

oxcAAR (version 1.1.2)

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)

# S3 method for default get_tidy_oxcalresult(x)

# S3 method for oxcAARCalibratedDate get_tidy_oxcalresult(x)

# S3 method for oxcAARCalibratedDatesList get_tidy_oxcalresult(x)

Value

a data.frame (with list columns)

Arguments

x

an object of class oxcAARCalibratedDate or oxcAARCalibratedDatesList

Examples

Run this code
if (FALSE) {
x <- oxcalCalibrate(c(5000, 4500, 3000), c(20, 50, 60))
get_tidy_oxcalresult(x)
y <- oxcalCalibrate(5000, 20)[[1]]
get_tidy_oxcalresult(y)
}

Run the code above in your browser using DataLab