File: rotate2.Rd

package info (click to toggle)
r-cran-lava 1.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,816 kB
  • sloc: sh: 13; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rotation.R
\name{rotate2}
\alias{rotate2}
\alias{rot2D}
\alias{rot3D}
\title{Performs a rotation in the plane}
\usage{
rotate2(x, theta = pi)
}
\arguments{
\item{x}{Matrix to be rotated (2 times n)}

\item{theta}{Rotation in radians}
}
\value{
Returns a matrix of the same dimension as \code{x}
}
\description{
Performs a rotation in the plane
}
\examples{
rotate2(cbind(c(1,2),c(2,1)))
}
\author{
Klaus K. Holst
}
\keyword{hplot}