Skip to content
Prev 19896 / 398500 Next

graphics question

--On woensdag 15 mei 2002 8:59 -0700 Thomas Lumley
<tlumley at u.washington.edu> wrote:

            
Yes!! This goes a great ways into what I want. However, if I do:

data <- c(390,416,406,396,421,415)
psc <- gl(2,3, labels=c("samecat","othercat"))
loc <- gl(3,2, labels=c("corresp", "noncorresp", "noninf"))
interaction.plot(psc, loc, data)

I get only one line (for noncorresp) which looks as if it is the average of 
all data points (2 times the average of 3 points). This makes sense because 
of the fun argument of interaction.plot (which, to me, seems to default to 
mean). Can I override this with some function that just returns one point 
of data??

thnx for the quick response!
Paul


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._