We would like plot, points, lines, text, ... to work with as little effort as possible. The S3 generic functions in package graphics are:
Axis barplot boxplot cdplot contour hist identify image lines mosaicplot
pairs persp plot points spineplot stripchart sunflowerplot text
If xy.coords were S3 generic and we wrote S3 methods for it, then the default methods that call xy.coords might "just work". So why is xy.coords not S3 generic?
For now, our methods could coerce to double or complex then dispatch. But it would be nice to handle with a bit more care real numbers not in the range of double. Then there is the issue of real numbers with error bounds ...
We would like
plot,points,lines,text, ... to work with as little effort as possible. The S3 generic functions in package graphics are:If
xy.coordswere S3 generic and we wrote S3 methods for it, then the default methods that callxy.coordsmight "just work". So why isxy.coordsnot S3 generic?For now, our methods could coerce to double or complex then dispatch. But it would be nice to handle with a bit more care real numbers not in the range of double. Then there is the issue of real numbers with error bounds ...