Function names should be explicit

complex_2_cartesian(x)

cartesian_2_complex(x)

degrees_to_radians(x)

radians_to_degrees(x)

Arguments

x

some object to convert

Value

converted object

Functions

  • complex_2_cartesian: complex numbers

  • cartesian_2_complex: complex numbers

  • degrees_to_radians: angle conversion

  • radians_to_degrees: angle conversion

Examples

bot %>% pick(1) %>% head() %>% cartesian_2_complex() %T>% print() %>% complex_2_cartesian()
#> [1] 37+561i 40+540i 40+529i 43+508i 46+487i 48+477i
#> # A tibble: 6 x 2 #> x y #> <dbl> <dbl> #> 1 37 561 #> 2 40 540 #> 3 40 529 #> 4 43 508 #> 5 46 487 #> 6 48 477 #> ❯coo_single with 6 coordinates