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]]

______________________________________________
[EMAIL PROTECTED] 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

Reply via email to