subtract {FastUtils}R Documentation

Subtract Two Numbers

Description

This function subtracts one number from another.

Usage

subtract(x, y)

Arguments

x

A numeric vector.

y

A numeric vector.

Value

A numeric vector representing the difference between the input vectors.

Examples

# Subtract two numeric vectors
subtract(c(10, 20, 30), c(1, 2, 3))

[Package FastUtils version 0.1.1 Index]