[R] plot.table on R 1.9.1

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Aug 16 11:56:12 CEST 2004


I don't see anything in ?plot.table about calling plot.table: the usage is 
stated as

     ## S3 method for class 'table':
     plot(x, type = "h", ylim = c(0, max(x)), lwd = 2,
           xlab = NULL, ylab = NULL, frame.plot = is.num, ...)

Perhaps you are trying to use it incorrectly?  plot.table is a method for 
the generic function plot(), and plot() can find it.  You are not 
supposed to be able to invoke it directly, but

	getS3method("plot", "table")

will show it to you.

On Mon, 16 Aug 2004, Meinhard GMX wrote:

> What is wrong on my system?

Nothing, probably.

> I have downloaded today R 1.9.1 on my PC with Windows.
> 
> plot.table isn't available in package <base> and neither in package
> <graphics> (as suggested after ?plot.table).

Where does it say it is available?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list