activity | R Documentation |
Plots the first derivative of the tempo
plot Bayesian estimate.
activity(object, ...)
## S4 method for signature 'EventsMCMC'
activity(
object,
from = min(object),
to = max(object),
grid = getOption("ArchaeoPhases.grid")
)
## S4 method for signature 'CumulativeEvents'
activity(object)
## S4 method for signature 'ActivityEvents,missing'
plot(
x,
calendar = getOption("ArchaeoPhases.calendar"),
main = NULL,
sub = NULL,
ann = graphics::par("ann"),
axes = TRUE,
frame.plot = axes,
panel.first = NULL,
panel.last = NULL,
...
)
object |
An |
... |
Other graphical parameters may also be passed as
arguments to this function, particularly, |
from |
A length-one |
to |
A length-one |
grid |
A length-one |
x |
An |
calendar |
A |
main |
A |
sub |
A |
ann |
A |
axes |
A |
frame.plot |
A |
panel.first |
An an |
panel.last |
An |
activity()
returns an ActivityEvents
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:
elapse()
,
occurrence()
,
tempo()
## 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.