Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

Re: [R] Debugging R's code: boxplot.stats

Martin Maechler

2006-10-30

Replies:

>>>>> "Duncan" == Duncan Murdoch <murdoch@(protected)>
>>>>>   on Sat, 28 Oct 2006 08:03:33 -0400 writes:

[...........]

  Duncan> Not sure why boxplot.stats is in grDevices rather
  Duncan> than graphics, but that's not really relevant to
  Duncan> your problems.

because it does "computation for Graphics" (capitalized on purpose)
which should not at all be limited to old-style S graphics which
is the topic of the "graphics" package.
E.g. "grid" and grid-based graphics should use boxplot.stats
(for consistency).
For the same reason, "color computations" are in 'grDevices',
[[and we have acknowledged a while ago that 'grDevices' has become a
slight misnomer

Martin Maechler

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.