degs_to_rads {h3jsr}R Documentation

Convert degrees to radians

Description

Convert degrees to radians.

Usage

degs_to_rads(degree = NULL, lang = c("r", "h3"), simple = TRUE)

Arguments

degree

Numeric, value in degrees

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 radians

Examples

degs_to_rads(120)

[Package h3jsr version 1.3.1 Index]