checkData: Checks a dataset for obvious clangers

Description Usage Arguments Details Value Examples

View source: R/functions.R

Description

Performs some rudimentary sanity checks on a radiocarbon (or other) dataset

Usage

1

Arguments

data

A dataframe of 14C dates. Requires 'age' and 'sd', and at least one of 'site' and 'phase'. Optional 'datingType' to include '14C' and anything else.

Details

Performs some rudimentary checks on the radiocarbon dataset, ensuring structure is as required, ages and sds look vaguely sensible etc. This is no substitute for poor data hygiene, and the analyst should of course have a toolkit of many other checks, e.g., to avoid duplicate labcodes.

Value

NULL

Examples

1
2

ADMUR documentation built on March 24, 2021, 1:08 a.m.