Learn R Programming

FastUtils (version 0.2.1)

divide: Divide Two Numbers

Description

This function divides one number by another.

Usage

divide(x, y)

Value

A numeric vector representing the quotient of the input vectors.

Arguments

x

A numeric vector.

y

A numeric vector.

Examples

Run this code
# Divide two numeric vectors
divide(c(10, 20, 30), c(2, 4, 5))

Run the code above in your browser using DataLab