> "does this by default" meaning what?
> > I don't think it does impute missing, does it?
> >
> > Can you elaborate, using your example (below)?
> >
> > I found Gabor's answer appropriate,
> > I really cannot see why matplot() should beha
Thanks for the suggestion!
> Date: Thu, 6 May 2010 13:40:04 -0700
> Subject: Re: [R] 'matplot' for matrix with NAs: broken lines
> From: djmu...@gmail.com
> To: shi...@hotmail.com
> CC: maech...@stat.math.ethz.ch; r-help@r-project.org
>
can do this. Now, I guess not.
...Tao
> From: maech...@stat.math.ethz.ch
> Date: Thu, 6 May 2010 18:34:22 +0200
> To: shi...@hotmail.com
> CC: ggrothendi...@gmail.com; r-help@r-project.org
> Subject: Re: [R] 'matplot' for matri
orate, using your example (below)?
I found Gabor's answer appropriate,
I really cannot see why matplot() should behave differently here...
Martin Maechler
TS> ----------------
>> From: ggrothendi...@gmail.com
>> Date: Wed, 5 Ma
of course I need some data manipulation first.
...Tao
> From: ggrothendi...@gmail.com
> Date: Wed, 5 May 2010 15:45:44 -0400
> Subject: Re: [R] 'matplot' for matrix with NAs: broken lines
> To: shi...@hotmail.com
> CC: r-help@r-project.o
Try this:
library(zoo)
matplot(na.approx(b), type = "l")
On Wed, May 5, 2010 at 2:30 PM, Tao Shi wrote:
>
> Hi list,
>
> I know that points involving NAs are not plotted in 'matplot', but when I
> plot them as lines, I still want the lines to connect all the points (i.e.
> not broken where the
Hi list,
I know that points involving NAs are not plotted in 'matplot', but when I plot
them as lines, I still want the lines to connect all the points (i.e. not
broken where there are NAs). Please see the example below. How can I achieve
this in 'matplot'? If I can't, any good alternatives
7 matches
Mail list logo