Learn R Programming

ADMUR (version 1.0.3)

checkData: 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.

Value

NULL

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.

Examples

Run this code
# NOT RUN {
	checkData(SAAD)
	
# }

Run the code above in your browser using DataLab