Skip to contents

Elapsed Time Scale

Usage

elapse(object, ...)

# S4 method for MCMC
elapse(object, origin = 1)

Arguments

object

An object (typically an MCMC object).

...

Currently not used.

origin

An integer giving the position of the column corresponding to the event from which elapsed time is calculated.

Value

Returns an object of the same class as object with an elapsed

An object of the same sort as object with a new time scale.

Note

There is no year \(0\) in BCE/CE scale.

See also

Other time scales: calendar

Author

N. Frerebeau

Examples

## Coerce to MCMC
eve <- as_events(events, calendar = "CE", iteration = 1)

## Plot events
## BP
eve_BP <- CE_to_BP(eve)
plot(eve_BP)
#> Picking joint bandwidth of 15.1


## CE
eve_CE <- BP_to_CE(eve_BP)
plot(eve_CE)
#> Picking joint bandwidth of 15.1


## Elapsed origin
eve_elapse <- elapse(eve, origin = 4)
plot(eve_elapse)
#> Picking joint bandwidth of 20.3