View source: R/baseDay2decimal.R
baseDay2decimal | R Documentation |
Computes the decimal time representation of the base day of the year.
baseDay2decimal(x)
x |
a vector of baseDay values, character, or factors of the form month
abbreviation and day number, generally created from |
A numeric value representing the base day.
baseDay
# The baseDay ordered by calendar year bd.tmp <- baseDay(c("2000-02-29", "2000-03-01", "2001-03-01"), numeric=FALSE) baseDay2decimal(bd.tmp) # ordered by water year, result should agree bd.tmp <- baseDay(c("2000-02-29", "2000-03-01", "2001-03-01"), numeric=FALSE, year="water") baseDay2decimal(bd.tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.