[R] bug checking

From: Parlamis Franklin <fparlamis_at_mac.com>
Date: Wed 12 Oct 2005 - 12:07:33 EST


I have observed the following behavior, wondering if it is a bug before I submit a report.

I am using the plot function with call: plot(X, Y, col="red", . . . ) where X is an object that inherits from classes
'dates' and 'times' (created with the 'dates' function from package
'chron') and y is a numeric vector. The color red is applied to the
area from the first to the last tick mark on the x axis (even if I don't set col="red" and only set, say col.main="red").

If instead of feeding the function X, I feed it unclass(X) or as.vector(X) the red color is not applied to the area between the first and last ticks on the x axis.

Is this a bug, or just a consequence of there not being a plot method for the class I am trying to feed the function?

Franklin Parlamis



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Oct 12 12:15:44 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:41 EST