tempo | R Documentation |
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.
tempo(object, ...)
## S4 method for signature 'CumulativeEvents,missing'
plot(
x,
calendar = getOption("ArchaeoPhases.calendar"),
interval = c("credible", "gauss"),
col.tempo = "#004488",
col.interval = "grey",
main = NULL,
sub = NULL,
ann = graphics::par("ann"),
axes = TRUE,
frame.plot = axes,
panel.first = NULL,
panel.last = NULL,
...
)
## S4 method for signature 'EventsMCMC'
tempo(
object,
level = 0.95,
count = FALSE,
credible = TRUE,
gauss = TRUE,
from = min(object),
to = max(object),
grid = getOption("ArchaeoPhases.grid")
)
object |
An |
... |
Other graphical parameters may also be passed as arguments to this function. |
x |
A |
calendar |
A |
interval |
A |
col.tempo , col.interval |
A specification for the plotting colors. |
main |
A |
sub |
A |
ann |
A |
axes |
A |
frame.plot |
A |
panel.first |
An an |
panel.last |
An |
level |
A length-one |
count |
A |
credible |
A |
gauss |
A |
from |
A length-one |
to |
A length-one |
grid |
A length-one |
The tempo plot is one way to measure change over time: it estimates the cumulative occurrence of archaeological events in a Bayesian calibration. The tempo plot yields a graphic where the slope of the plot directly reflects the pace of change: a period of rapid change yields a steep slope and a period of slow change yields a gentle slope. When there is no change, the plot is horizontal. When change is instantaneous, the plot is vertical.
tempo()
returns an CumulativeEvents
object.
plot()
is called it for its side-effects: it results in a graphic being
displayed (invisibly returns x
).
A. Philippe, M.-A. Vibet, T. S. Dye, N. Frerebeau
Dye, T. S. (2016). Long-term rhythms in the development of Hawaiian social stratification. Journal of Archaeological Science, 71: 1-9. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.jas.2016.05.006")}.
Other event tools:
activity()
,
elapse()
,
occurrence()
## Coerce to MCMC
eve <- as_events(mcmc_events, calendar = CE(), iteration = 1)
eve <- eve[1:10000, ]
## Tempo plot
tmp <- tempo(eve)
plot(tmp, interval = "credible", panel.first = grid())
plot(tmp, interval = "gauss", panel.first = grid())
## Activity plot
act <- activity(tmp)
plot(act, panel.first = grid())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.