This should be very simple, but my r knowledge is limited. I'm trying to find out if any value is greater than all previous values. An example would be
x<-c(1.1, 2.5, 2.4, 3.6, 3.2)
results:
NA True False True False
My real values are measurements with many decimal places so I doubt I will get the same value twice