Rotate: rotate data

Description Usage Arguments Author(s) Examples

Description

rotate data by multiplying with rotation matrix

Usage

1
Rotate(x, a = 45, center = colMeans(x), inverseRot = FALSE, verbose = 0)

Arguments

x

data frame to be rotated

a

angle to rotate over

center

center of rotation; another possible choice would be colMeans(x[,c("X","Y")])

inverseRot

invert previously applied rotation ?

verbose

level of verbosity

Author(s)

Markus Loecher

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#data(drugCrimes)


#PlotClusters()


#examples to come


print(1)

TreeHotspots documentation built on May 2, 2019, 5:17 p.m.