s-news
[Top] [All Lists]

Re: plot with NA

To: yiwu ye <yiwu21111958@yahoo.com>, s-news@lists.biostat.wustl.edu
Subject: Re: plot with NA
From: "Richard M. Heiberger" <rmh@temple.edu>
Date: Tue, 29 Nov 2005 20:44:04 -0500
This works:

> x <- c(1,2,3,NA,4,5)
> y <- c(3,2,NA,5,3,6)
> plot(x, y)
> 


Therefore it is more likely that the x and y vectors in your example
have different lengths.  In my example
> length(x)
[1] 6
> length(y)
[1] 6
>

If you have further difficulty, please send to the entire list a trivial
example that reproduces the problem.

<Prev in Thread] Current Thread [Next in Thread>
  • plot with NA, yiwu ye
    • Re: plot with NA, Richard M. Heiberger <=