Re: [R] how to rotate elements in a vector and points in a plane

2010-04-23 Thread David Winsemius
On Apr 23, 2010, at 1:54 PM, Ondřej Mikula wrote: Dear R-helpers, I need two simple functions, I guess they exist in R, but I am unable to find them. The first function should cyclically rotate elements in a vector. ("guyrot" in the package "wavethresh" should do it, but there's some problem w

[R] how to rotate elements in a vector and points in a plane

2010-04-23 Thread Ondřej Mikula
Dear R-helpers, I need two simple functions, I guess they exist in R, but I am unable to find them. The first function should cyclically rotate elements in a vector. ("guyrot" in the package "wavethresh" should do it, but there's some problem with its loading) The second function should rotate poi