Description Usage Arguments Value Author(s)
View source: R/g.createcoordinates.R
Function creates the coordinates for the blocks g.plot Function not designed for direct use by package user.
1 | g.createcoordinates(r,timeline)
|
r |
Vector of zeros and ones reflecting the moments in time when there should be a block (1) |
timeline |
Vector of time indicators, this can be numbers or actual timestamps The length of timeline needs to match the length of argument r |
List with two objects: x0 with all the coordinates correspoding to the start of each blocks on the timelines and x1 with all the coordinates corresponding to the end of each block on the timeline
Vincent van Hees <vincentvanhees@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.