[R] [R/S] question re solution

Erin Hodgess hodgess at gator.uhd.edu
Thu Sep 2 04:35:58 CEST 2004

Dear R and S People:

First, thank you to so many people for your help to my problem.

Here is the solution:

a <- 0.5*(outer(1:n3,1:n3,function(x,y,n2.){n2. - pmax(x,y)},n2.=n2))

I have one final pesky question, please:
During my experiments, I tried the following:

a <- 0.5*(outer(1:n3,1:n3,function(x,y,n2.=n2){n2. - pmax(x,y)}))
Why doesn't this work please?

thank you!

Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu

More information about the R-help mailing list