get_tidy_oxcalresult | R Documentation |
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
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)
x |
an object of class oxcAARCalibratedDate or oxcAARCalibratedDatesList |
a data.frame (with list columns)
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.