sec | R Documentation |
Calculates the value of secant for each element of x
in radians.
sec(x)
x |
A numeric or complex vector containing values in radians |
The secant of each element of x
in radians.
Note: If you have a degree angle value, use secd
instead.
Irucka Embry
library(iemisc)
# Examples
sec (seq(-2, 2, by = 1) * pi)
sec ((3 * pi) / 4)
sec (c((7/3) * pi, (5/2) * pi))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.