Convert radians to degrees.
Usage
rads_to_degs(radian = NULL, lang = c("r", "h3"), simple = TRUE)
Arguments
- radian
Numeric, value in radians
- lang
Character; whether to perform the conversion using base R
or the H3 library. Defaults to R for speed.
- simple
Logical; whether to return a vector or a data frame containing
both inputs and outputs.
Value
Numeric, value in degrees
Examples
rads_to_degs(1.5)
#> [1] 85.94367