Re: [R] Help translating S-Plus command

2007-11-06 Thread Bernat Claramunt Lopez
Thank you very much. Worked perfectly !! El dl 05 de 11 del 2007 a les 22:17 +, en/na Prof Brian Ripley va escriure: > It would help if we knew what that command was supposed to do. My guess > is that you want the Tr$size with the smallest value of Tr$dev, in which > case > > Tr$size[which

Re: [R] Help translating S-Plus command

2007-11-05 Thread Prof Brian Ripley
It would help if we knew what that command was supposed to do. My guess is that you want the Tr$size with the smallest value of Tr$dev, in which case Tr$size[which.min(Tr$dev)] would seem to do it. However, there are details like what is to happen if there are ties for the smallest value. (