Assumes that generations are rows and skyline variables are columns (in order) Every generation has the skyline from times[1] to origin[i] (or origin[i] to times[1] if reverse=TRUE) Assumes that intervals in the skyline are equidistant
1 | gridSkyline(skyline, origin, times, reverse = FALSE)
|
skyline |
The skyline matrix (rows = mcmc generations, columns = skyline variables) |
origin |
The origin of the skyline, for each row in the skyline |
times |
The regular timegrid to return the marginal posterior on |
reverse |
If FALSE assumes that skyline[,1] is the oldest interval (skyline is forward in time - oldest to newest), else if TRUE assume skyline[,1] is the most recent interval (skyline is backward in time - newest to oldest). Setting reverse == TRUE is equivalent to reversing the skyline and then running the function with reverse == FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.