[R] plot(hist.default(1:10,plot=F)) error.

About this list Date view Thread view Subject view Author view Attachment view

From: witek (wolski@molgen.mpg.de)
Date: Thu 06 May 2004 - 20:48:09 EST


Message-id: <200405061248090007.05D6F394@mail.math.fu-berlin.de>

Hi!

How to find out which plot function is used when i call
plot(hist.default(1:10,plot=F)) and all works fine ?

The reason why I would like to know it is that after loading some self written R functions
> plot(hist.default(1:10,plot=F))
Error in xy.coords(x, y, xlabel, ylabel, log) :
 x and y lengths differ
> traceback()
5: stop("x and y lengths differ")
4: xy.coords(x, y, xlabel, ylabel, log)
3: plot.default(hist.default(1:10, plot = F))
2: plot(hist.default(1:10, plot = F))
1: plot(hist.default(1:10, plot = F))

gives an error.
It seems that instead of the function normally used to plot histograms
plot.default is called. But which one is normally used?

How in general i can find out to find out which plot function is called by an object.

R1.9.0

Eryk

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST