Assume each column is a different time point (ncol(skylinemat) == length(times) must be fulfilled)
1 2 3 4 |
times |
The time points to draw the skyline at. length(times) should be equal to ncol(skyline_mat) + 1. (Because there are length(times) intervals and the last interval needs an end-time). If length(times) == ncol(skyline_mat) the last interval is arbitrarily given the same length as the second last interval. |
skyline_mat |
|
type |
Type of skyline to plot. "smooth" : If skyline_mat contains the HPDs plot a smooth line and polygon (type='l') "step" : If skyline_mat contains the HPDs plot a stepped line and polygon (type='S') "lines" : Plot every row in the matrix as a smooth line (type='l') "steplines" : Plot every row in the matrix as a stepped line (type='S') |
traces |
Number of traces to draw if type="traces" |
new |
Create a new set of axes (the skyline is fitted to the plotting devie) |
add |
Add to the current plot (do not create a new plotting device) |
... |
Parameters passed to plotting function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.