rot.deg | R Documentation |
This function rotates angular locations in degrees by an ampunt given in degrees
rot.deg(x, amount = 0, rev = FALSE)
x |
numeric values in degrees |
amount |
amount to rotate |
rev |
logical if TRUE list objekt is returnd with number of revolutions |
postive values vor amount
will result in clockwise rotation an negative values will result in counterclockwise rotation
values in degrees rotatet by amount; optionaly number of revolutions
## rotation by 30 degrees
# inital value smaler than 330 degrees
rot.deg(200,30)
rot.deg(200,30,TRUE)
# inital value smaler than 360 degrees
rot.deg(350,30)
rot.deg(350,30,TRUE)
# inital value biger than 360 degrees
rot.deg(900,30)
rot.deg(900,30,TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.