checkData: Checks a dataset for obvious clangers

View source: R/functions.R

checkDataR Documentation

Checks a dataset for obvious clangers

Description

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

Usage

checkData(data)

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

	checkData(SAAD)
	

UCL/ADMUR documentation built on Sept. 14, 2023, 11:41 a.m.