Learn R Programming

schoolmath (version 0.4)

gcd: Greatest common divisor of two numbers

Description

This function gives the greatest common divisor of two numbers

Usage

gcd(x, y)

Arguments

x

first number

y

second number

See Also

scm

Examples

Run this code
# NOT RUN {
gcd(42, 56)
# }

Run the code above in your browser using DataLab