TempoPlot: Plot of the occurence of events

Description Usage Arguments Value Author(s) References Examples

View source: R/prog.R

Description

A statistical graphic designed for the archaeological study of rhythms of the long term that embodies a theory of archaeological evidence for the occurrence of events.

Usage

1
TempoPlot(data, position, level=0.95,  count = TRUE, Gauss=FALSE, title = "Tempo plot")

Arguments

data

dataframe containing the output of the MCMC algorithm

position

numeric vector containing the position of the column corresponding to the MCMC chains of interest

level

probability corresponding to the level of confidence used for the credible interval

count

if TRUE the counting process is given as a number, otherwise it is a probability

Gauss

if TRUE, the Gaussian approximation of the CI is used

title

title of the graph

Value

It calculates the cumulative frequency of specified events by calculating how many events took place before each date in a specified range of dates.

Author(s)

Anne Philippe <Anne.Philippe@univ-nantes.fr>, Thomas S. Dye <TSD@tsdye.com> and

Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>

References

Dye, T.S. (2016) Long-term rhythms in the development of Hawaiian social stratification. Journal of Archaeological Science, 71, 1–9.

Examples

1
2
3
  data(Events); 
  TempoPlot(Events[1:1000,], c(2:5))
  TempoPlot(Events[1:1000,], c(2:5), count = TRUE)

RChronoModel documentation built on May 1, 2019, 10:06 p.m.