gridSkylineDates: Grid the skyline between two dates

Description Usage Arguments

Description

This function makes the assumption that the dates in BEAST are in units of years. enddate, from and to should all be date objects or Strings in the format "yyyy-mm-dd"

Usage

1
2
gridSkylineDates(skyline, origin, enddate, from, to = NA,
  intervals = "weeks", reverse = FALSE)

Arguments

skyline

The skyline matrix (rows = mcmc generations, columns = skyline variables)

origin

The origin of the skyline, for each row in the skyline

enddate

End date of the skyline (most recent sample in the tree).

from

Start of gridded skyline

to

End of gridded skyline

intervals

Number of intervals between from and to, or 'weeks' or 'months'


laduplessis/bdskytools documentation built on May 20, 2019, 7:33 p.m.