acosd {iemisc} | R Documentation |
Inverse cosine (in degrees) [GNU Octave/MATLAB compatible]
Description
Calculates the value of inverse cosine for each element of x
in
degrees in a manner compatible with GNU Octave/MATLAB.
Usage
acosd(x)
Arguments
x |
A numeric vector containing values in degrees |
Value
The inverse cosine of each element of x
in degrees.
Note
Note: If you have a radian (rad) angle value, use acos
instead.
Author(s)
David Bateman (GNU Octave acosd), Irucka Embry
References
John W. Eaton, David Bateman, Søren Hauberg, and Rik Wehbring (November 2022). GNU Octave: A high-level interactive language for numerical computations: Edition 7 for Octave version 7.3.0. https://docs.octave.org/octave.pdf. Page 554.
Examples
library(iemisc)
# Examples from GNU Octave acosd
acosd (seq(0, 1, by = 0.1))
[Package iemisc version 1.0.4 Index]