interpolate | R Documentation |
Interpolate Between Two Dates
interpolate(x, y, ...)
## S4 method for signature 'numeric,numeric'
interpolate(x, y)
## S4 method for signature 'EventsMCMC,missing'
interpolate(x, e1 = 1, e2 = 2)
x |
A |
y |
A |
... |
Currently not used. |
e1 , e2 |
An |
For a given output of MCMC algorithm, this function interpolates between
to events x
and y
(assuming x < y
).
N. Frerebeau
Other age-depth modeling tools:
bury()
## Coerce to events
eve <- as_events(mcmc_events, calendar = CE(), iteration = 1)
eve <- eve[1:10000, ]
## Interpolate between two events
inter <- interpolate(eve, e1 = 2, e2 = 3)
plot(inter, level = 0.95, interval = "credible")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.