Displaying 2 results from an estimated 2 matches for "halfmonth".
2010 May 19
1
pretty.Date(): new "halfmonth" time step
...Xct
https://svn.r-project.org/R/trunk/src/library/grDevices/R/prettyDate.R
there is currently a "pretty" time step listed as "15 DSTdays"... but
this actually doesn't line up well with months.
Much better to implement directly what this is trying to do: i.e. to
have a "halfmonth" time step. This is just the union of two "monthly"
sequences, one on the 1st of each month and another on the 15th of
each month.
With this in place we have:
prettyDate(as.Date(c("2002-02-02", "2002-05-01")))
# [1] "2002-02-15" "2002-03-01"...
2010 May 21
0
pretty.Date(): changes to axis() methods?
...unctionality is already included in lattice
0.18-5, which was released with, and depends on, R 2.11.0. (There is
one known issue: the Date method in lattice 0.18-5 can miss a tick at
one end of the axis if your local time zone is not "GMT". Also that
version does not include the new "halfmonth" time step.)
-Felix
--
Felix Andrews / ???
Postdoctoral Fellow
Integrated Catchment Assessment and Management (iCAM) Centre
Fenner School of Environment and Society [Bldg 48a]
The Australian National University
Canberra ACT 0200 Australia
M: +61 410 400 963
T: + 61 2 6125 4670
E: felix.andr...