Learn R Programming

Biolinv (version 0.1-3)

cosd: Computes the cosine of an angle expressed in decimal degrees.

Description

Computes the cosine of an angle expressed in decimal degrees.

Usage

cosd(degrees)

Arguments

degrees

either a number or a numeric vector of angles in decimal degrees.

Value

number or numeric vector.

Examples

Run this code
# NOT RUN {
cosd(90)
plot(seq(0,360,1), cosd(seq(0,360,1)), type='l')
# }

Run the code above in your browser using DataLab