Skip to contents

Add two numbers

Usage

add(x, y)

Arguments

x

The first number to add.

y

The second number to add.

Value

The sum of two numbers

Examples

add(1, 2) # 3
#> [1] 3
add(4, 6) # 10
#> [1] 10