Hello,
 If I have x<-c(5,9,8,3,4,5,6,7,)
and y <-("a", "b","c", "d","e","f", "g","h")

and D <- data.frame(x,y)



I did this max(x)

and My expectede anwer is b.
How do I select element in y which correspond to maximum number in x?

thanks.

regards,
Prabhakar

	[[alternative HTML version deleted]]

