Skip to content
Prev 11526 / 63468 Next

Another wishlist for R

How about we just add these to a package available on CRAN?  How about we
just make a package of the Burns Statistics functions?  There are already
.Rd files...
In gregmisc I have a function textplot which does much of what you want, and
I've just added (in CRAN incoming now) a new function sinkplot() which
accomplishes exactly what you've asked for.  Here is the example:

   set.seed(12456)
   x <- factor(sample( LETTERS[1:5], 50, replace=T))
   y <- rnorm(50, mean=as.numeric(x), sd=1)

   par(mfrow=c(1,2))
   boxplot(y~x, col="darkgreen")

   sinkplot()
   anova(lm(y~x))
   sinkplot("plot",col="darkgreen")

The only thing that isn't quite right is the default R font is
proportionally spaced so the matrix columns don't line up right.  I'll need
change the default font.   [Are any of the Hershey fonts fixed width?]


-Greg


LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}