g.createcoordinates: Create coordinates for g.plot

Description Usage Arguments Value Author(s)

View source: R/g.createcoordinates.R

Description

Function creates the coordinates for the blocks g.plot Function not designed for direct use by package user.

Usage

1
g.createcoordinates(r,timeline)

Arguments

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

Value

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

Author(s)

Vincent van Hees <vincentvanhees@gmail.com>


PeteJWatson/ggircal documentation built on Nov. 24, 2021, 11:14 a.m.