> On Sep 19, 2018, at 10:48 PM, Ogbos Okike wrote:
>
> Hi David,
> That's it!!! The outcome is attached.
The explanation for this is that columns that have digits separated by dashes
will not be interpreted by R's read.table() as numeric or dates, but rather as
the default for text entries:
Hi David,
That's it!!! The outcome is attached.
Many thanks please.
Best
Ogbos
On Wed, Sep 19, 2018 at 11:34 PM David Winsemius
wrote:
>
> > On Sep 19, 2018, at 7:55 AM, Ogbos Okike
> wrote:
> >
> > Dear Experts,
> > I generated the plot attached. Every other thing is OK except the black
> >
> On Sep 19, 2018, at 7:55 AM, Ogbos Okike wrote:
>
> Dear Experts,
> I generated the plot attached. Every other thing is OK except the black
> horizontal lines which should appear like points or dots as the coloured
> ones. I can't understand why.
>
> I tried to change it to look like dots by
I'm a little surprised at some of what happens, but you can get date labels on
the x axis like this:
drng <- as.Date( c('2005-1-1' , '2005-12-31') )
plot(1, type="n", xlab="", ylab="", xaxt='n', xlim=drng, ylim=c(-.5, -10))
axis(1, at= pretty(drng), lab=format(pretty(drng)))
and if you prefer so
4 matches
Mail list logo