I want to include missing values in my barplot to get the correct x-axis,
for example,
x - c(1,2,3,4, 9)
y - c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last height in y should be a long way
over.
So I want to do something like...
x - c(1,2,3,4,5,6,7,8, 9)
y -
Dan Bolser wrote:
I want to include missing values in my barplot to get the correct x-axis,
for example,
x - c(1,2,3,4, 9)
y - c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last height in y should be a long way
over.
So I want to do something like...
x - c(1,2,3,4,5,6,7,8, 9)
y
On Sat, 4 Jun 2005, Uwe Ligges wrote:
Dan Bolser wrote:
I want to include missing values in my barplot to get the correct x-axis,
for example,
x - c(1,2,3,4, 9)
y - c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last height in y should be a long way
over.
So I want to
Dan Bolser wrote:
On Sat, 4 Jun 2005, Uwe Ligges wrote:
Dan Bolser wrote:
I want to include missing values in my barplot to get the correct x-axis,
for example,
x - c(1,2,3,4, 9)
y - c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last height in y should be a long way
over.
On Sat, 4 Jun 2005, Uwe Ligges wrote:
Dan Bolser wrote:
On Sat, 4 Jun 2005, Uwe Ligges wrote:
Dan Bolser wrote:
I want to include missing values in my barplot to get the correct x-axis,
for example,
x - c(1,2,3,4, 9)
y - c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last
Dan Bolser wrote:
[all previous stuff deleted]
I see, what comes out of this longish thread is:
- barplot() and barplot2() both have deficiencies for you particular
examples, so it is time to provide patches for both barplot() and
barplot2() (for the latter, you might want to contact the
On Sat, 2005-06-04 at 14:50 +0100, Dan Bolser wrote:
snip
This must be because of the log='y' option that I am using here.
y - c(2,4,6,8,NA,NA,NA,NA,18)
barplot2(y,log='y')
Above fails.
I appreciate that what I am trying to do is somewhat artificial (handle
zero values on a log
On Sat, 4 Jun 2005, Marc Schwartz wrote:
On Sat, 2005-06-04 at 14:50 +0100, Dan Bolser wrote:
snip
This must be because of the log='y' option that I am using here.
y - c(2,4,6,8,NA,NA,NA,NA,18)
barplot2(y,log='y')
Above fails.
I appreciate that what I am trying to do is somewhat