Learn R Programming

FastUtils (version 0.2.1)

multiply: Multiply Two Numbers

Description

This function multiplies two numbers.

Usage

multiply(x, y)

Value

A numeric vector representing the product of the input vectors.

Arguments

x

A numeric vector.

y

A numeric vector.

Examples

Run this code
# Multiply two numeric vectors
multiply(c(2, 3, 4), c(5, 6, 7))

Run the code above in your browser using DataLab