Skip to content
Prev 366829 / 398502 Next

graphical behavior of a table of numbers

Hi Richard,
I think there may be something amiss in the plot.table function. As
you note, changing the class of fr to array produces a more sensible
plot, as does Bert's "as.vector". Yet inside plot.table we find:

plot(x0, unclass(x), ...

and that should produce an array:

class(unclass(fr))
[1] "array"

The plot.table function looks like it should produce the plot you
want, but it doesn't. I think (therefore I am probably wrong) that a
1D table is handled in the same way as  multiD table rather than being
squeezed into a vector.

Jim
On Sun, Jan 29, 2017 at 11:19 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote: