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_activity_plot(
data,
position = 1:ncol(data),
title = "Tempo Activity Plot",
subtitle = NULL,
caption = "ArcheoPhases",
x_label = "Calendar year",
y_label = "Activity",
line_types = c("solid"),
width = 7,
height = 7,
units = "in",
x_min = NULL,
x_max = NULL,
file = NULL,
x_scale = "calendar",
elapsed_origin_position = NULL,
new_window = TRUE,
plot_result = TRUE
)
Data frame containing the output of the MCMC algorithm.
Numeric vector containing the position of the column corresponding to the MCMC chains of interest, or a vector of column names.
Title of the plot.
Subtitle of the plot.
Caption of the plot.
Label of the x-axis.
Label of the y-axis.
Type of the lines drawn on the plot.
Width of the plot in units
.
Height of the plot in units
.
Units used to specify width
and height
,
one of "in" (default),"cm", or "mm".
Minimum value for x-axis.
Maximum value for x-axis.
Name of the file to be saved if specified.
If Null
, then no file is saved.
One of "calendar", "bp", or "elapsed".
If x_scale
is "elapsed", the position
of the column corresponding to the event from which elapsed time is calculated.
Whether or not the plot is drawn within a new window.
If TRUE
, then draw a plot on the display,
else suppress drawing.
An archaeophases_plot
object with the data and metadata
needed to reproduce the plot.
Dye, T.S. (2016) Long-term rhythms in the development of Hawaiian social stratification. Journal of Archaeological Science, 71, 1--9.
# NOT RUN {
data(Events);
tempo_activity_plot(Events[1:1000, ], c(2:5))
# }
Run the code above in your browser using DataLab