deg2car: Angle degrees to Cartesian x, y coordinates

View source: R/angle_convert.R

deg2carR Documentation

Angle degrees to Cartesian x, y coordinates

Description

Convert angle degrees to Cartesian coordinates x and y It is internally also taking care of the conversion from input angles as degrees to radians

Usage

deg2car(deg, r = 1)

Arguments

deg

a numeric vector of angle degrees

r

numeric, ray of the unitary circle

Value

a tibble with degrees, phi in radians, x and y

Examples

deg<- c(0, 30, 45, 60, 90, 180, 270, 360)
deg2car(deg)

maxbre/rfunctions documentation built on Nov. 19, 2022, 5:46 p.m.