## S3 method for class 'count': +(a,b)
count
a <- count(c(dogs=4,pigs=0,slugs=5)) b <- count(c(slugs=4,hogs=1,frogs=19)) a+b
Run the code above in your browser using DataLab