Skip to content
Prev 76376 / 398502 Next

Testing if all elements are equal in a vector/matrix

Hi

library(magic)
?minmax


[
the basic idea is min(x) == max(x)
]


best wishes


Robin
On 29 Aug 2005, at 20:35, Vincent Goulet wrote:

            
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743