untb (version 1.2-14)

+.count: Add two count objects

Description

Adds two count objects

Usage

## S3 method for class 'count':
+(a,b)

Arguments

a,b
objects of class count

Examples

Run this code
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 DataCamp Workspace