NispElement: NispElement

View source: R/NispElement.R

NispElementR Documentation

NispElement

Description

Calculate NISP for each element of a taxon for each layer/context. Reads a zooarchaeological database and returns a .csv file with counts of elements (in rows) by layers/contexts (in columns).

Usage

NispElement(data, taxon)

Arguments

data

a data frame with zooarchaeological data. Should contain "layer", "taxon", "element", and "zone" columns.

taxon

the name of a target taxon

Value

NISP per element for a by layer/context, as a csv file and a data frame object.

Examples

NispElement(read.csv("my_data.csv", "sheep")) #add fileEncoding="UTF-8-BOM" to remove junk character added to first column name, or change it manually

nmar79/SEAcalc documentation built on May 2, 2022, 12:44 p.m.