S4 classes to represent a collection of phases.
A phase object is an\(n x m x 2\) array, with \(n\) being the number of iterations, \(m\) being the number of phases and with the 2 columns of the third dimension containing the boundaries of the phases.
This class inherits from array
.
In the code snippets below, x
is a PhasesMCMC
object.