Skip to content

ArchaeoStat/ArchaeoData

Repository files navigation

ArchaeoData

R-CMD-check

r-universe

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Overview

Datasets for chronological modelling with ArchaeoPhases. This package provides models and data to reproduce results from ArchaeoPhases examples and vignettes.

Installation

The size of this package is considerably over the 5 MB limit imposed by CRAN. You can install the latest version of ArchaeoData from our repository with:

install.packages("ArchaeoData", repos = "https://archaeostat.r-universe.dev")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("ArchaeoStat/ArchaeoData")

Local usage

## Load package
library(ArchaeoData)

## Load data (BCal output)
data("fishpond")

The inst/ directory contains:

  • ChronoModel v2.0.18 project files and output files (in the chronomodel/ subdirectory).
  • OxCal v4.4.4 script and output files (in the oxcal/ subdirectory).
  • BCal output files (in the bcal/ subdirectory).

Remote usage

## Load package
library(ArchaeoPhases)

## Read BCal output
fishpond <- read_bcal("https://archaeostat.r-universe.dev/ArchaeoData/data/fishpond/csv")