Displaying 1 result from an estimated 1 matches for "barplt".
Did you mean:
barplot
2000 Jun 27
0
par(lty = "1") -- lty storage-etc bug (PR#584)
...that in the Error message below,
"invalid hex digit in color"
has been changed in the very latest R-release sources to
"invalid hex digit in color or lty"
which is ``more helpful'' here :
> example(barplot) ## (almost!) always ends in an error, see below,
barplt> tN <- table(Ni <- rpois(100, lambda = 5))
barplt> r <- barplot(tN, col = "gray")
barplt> lines(r, tN, type = "h", col = "red", lwd = 2)
Error in plot.xy(xy.coords(x, y), type = type, col = col, lty = lty, ...) :
invalid hex digit in color
> tr...