angular_unit | R Documentation |
angular_unit()
gets/sets the angular unit of angle()
vectors.
angular_unit(x)
angular_unit(x) <- value
x |
An |
value |
A string of the desired angular unit. See |
angular_unit()
returns a string of x
's angular unit.
a <- angle(seq(0, 360, by = 90), "degrees")
angular_unit(a)
print(a)
angular_unit(a) <- "turns"
angular_unit(a)
print(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.