This would make a nice feature for the next R release---a parameter
that overrides the default choice for the number of ticks or labels on
the axes. since it has to be calculated already, this should not be
hard---spoken by someone without knowledge of the innards, of course.
/iaw
On Sat, Aug 21
On 08/21/2010 12:35 AM, ivo welch wrote:
...
(PS: Is there an easier way to tell R that I want a whole lot more
tick marks and/or labels than what it gives me by default?)
Hi Ivo,
I haven't been able to find a way to make the axis function print more
tick mark labels than it wants to. That's w
On Fri, 2010-08-20 at 10:35 -0400, ivo welch wrote:
> The treatment of dates seems to be a little inconsistent in R 2.11.1
> (2010-05-31):
>
> [2] How do dates on axes work?
>
> > plot( c(as.Date(1:20, origin="1970-01-01")), 1:20 )
> > axis( side=3, c(as.Date(1:20, origin="1970-01-01")))
>
On Fri, Aug 20, 2010 at 10:35 AM, ivo welch wrote:
> The treatment of dates seems to be a little inconsistent in R 2.11.1
> (2010-05-31):
>
> [1] The choice of origins?
>
> > as.integer(as.Date("1970-01-01"))
>
> works and assumes as origin 1970-01-01. However,
>
> > as.Date(1)
The zoo package
The treatment of dates seems to be a little inconsistent in R 2.11.1
(2010-05-31):
[1] The choice of origins?
> as.integer(as.Date("1970-01-01"))
works and assumes as origin 1970-01-01. However,
> as.Date(1)
does not work. It requires an origin (as.Date(1,
origin="1970-01-01")). If we
5 matches
Mail list logo