Skip to content
Prev 256018 / 398506 Next

problem with all/all.equal

On Wed, Apr 6, 2011 at 3:09 PM, Laura Smith <smithlaura937 at gmail.com> wrote:
all looks at a logical vector (or two), and all.equal compares two
objects. For your purposes, you can ask whether

all (x==x[1])

for example.

Peter