subtract: Subtract Two Numbers

View source: R/math.R

subtractR 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))

FastUtils documentation built on Sept. 11, 2024, 5:13 p.m.