Skip to content

R package for archaeological stratigraphy and chronological sequences

License

Notifications You must be signed in to change notification settings

joeroe/stratigraphr

Repository files navigation

stratigraphr

Lifecycle: experimental CRAN status R build status Codecov test coverage

stratigraphr is a tidy framework for working with archaeological stratigraphy and chronology in R. It includes tools for reading, analysing, and visualising stratigraphies (Harris matrices) and sequences as directed graphs; helper functions for using radiocarbon dates in a tidy data analysis; and an R interface to OxCal's Chronological Query Language (CQL).

Installation

You can install the development version of stratigraphr from GitHub:

# install.packages("devtools")
devtools::install_github("joeroe/stratigraphr")

Please note that this package is in an early stage of development. It is functional, but many features are missing and future versions are likely to contain breaking changes.

Usage

  • Graph-bases stratigraphic analysis: see vignette("stratigraph").
  • Tidy analysis of radiocarbon dates: see vignette("tidy_radiocarbon").
  • Chronological query language: see vignette("cql").