rot.rad: rotate radians by amount in radians

Description Usage Arguments Details Value Examples

Description

This function rotates angular locations in radians by an ampunt given in radians

Usage

1
rot.rad(x, amount = 0, rev = FALSE)

Arguments

x

numeric values in radians

amount

amount to rotate (in radians)

rev

logical if TRUE list objekt is returnd with number of revolutions

Details

postive values vor amount will result in clockwise rotation an negative values will result in counterclockwise rotation

Value

values in radians rotatet by amount; optionaly number of revolutions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## rotation by 0.5235988 radians
# inital value smaler than 5.759587 radians
rot.rad(3.490659,0.5235988)
rot.rad(3.490659,0.5235988,TRUE)
# inital value smaler than 6.283185 radians
rot.rad(6.108652,0.5235988)
rot.rad(6.108652,0.5235988,TRUE)
# inital value biger than 6.283185 radians
rot.rad(15.70796,0.5235988)
rot.rad(15.70796,0.5235988,TRUE)

holland documentation built on Sept. 5, 2021, 5:08 p.m.