multiply {quickcode}R Documentation

Multiple a vector of numeric values

Description

Multiple all the content of a vector

Usage

multiply(...)

Arguments

...

the numeric values to multiply

Value

multiple of all content

Examples

# multiply 1 number
# returns error
# multiply(0)

# vector of numbers
numvec <- number(10, max.digits = 3)
numvec

# multiply 2 numbers
multiply(numvec[1:2])
multiply(numvec[4], numvec[5])
multiply(a = 4, b = 5)

# multiply 5 numbers
multiply(numvec[1:5])
multiply(11, 15, 12, 14, 13)
multiply(a = 4, b = 22, c = 44, d = 9, u = 10)


[Package quickcode version 0.9.1 Index]