subtract: Subtraction Function

Description Usage Arguments Value Examples

View source: R/add.R

Description

This function generates and returns the difference of x and y.

Usage

1
subtract(x, y)

Arguments

x

This is the from which we want to subtract

y

This is the value we will subtract

Value

Returns the difference of x and y

Examples

1
2
3
4
5
### First you can subtract small numbers
subtract(1,1)

### Now you subtract add big numbers
subtract(222232, 2234234233)

wevanjohnson/mypackage documentation built on May 25, 2019, 12:44 a.m.