transition {ArchaeoPhases} | R Documentation |
Transition Range Between Successive Phases
Description
Estimates the transition endpoints between two phases.
Usage
transition(x, y, ...)
## S4 method for signature 'numeric,numeric'
transition(x, y, level = 0.95)
## S4 method for signature 'PhasesMCMC,missing'
transition(x, level = 0.95)
Arguments
x , y |
A |
... |
Currently not used. |
level |
A length-one |
Details
The transition is the shortest interval that satisfies
P(IntervalInf < Phase1Max < Phase2Min < IntervalSup | M) = level
.
This assumes that the phases are in temporal order constraint.
Value
The endpoints of the transition interval for each pair of successive phases
(at a given level
).
Methods (by class)
-
transition(x = numeric, y = numeric)
: Returns a length-twonumeric
vector (terminal times of the transition interval). -
transition(x = PhasesMCMC, y = missing)
: Returns aTimeRange
object.
Author(s)
A. Philippe, M.-A. Vibet, N. Frerebeau
See Also
Other time ranges:
boundaries()
,
hiatus()
Examples
## Coerce to events
eve <- as_events(mcmc_events, calendar = CE(), iteration = 1)
eve <- eve[1:10000, ]
## Compute min-max range by group
pha <- phases(eve, groups = list(A = c(1, 3), B = c(2, 4)))
## Compute phase ranges
bou <- boundaries(pha)
as.data.frame(bou)
## Compute phase transition
tra <- transition(pha)
as.data.frame(tra)
## Compute phase hiatus
hia <- hiatus(pha)
as.data.frame(hia)
[Package ArchaeoPhases version 2.0 Index]