orthoRotate2D: Rotation

View source: R/stats.R

orthoRotate2DR Documentation

Rotation

Description

Rotates the input matrix by a certain angle (useful for the output of PCA).

Usage

orthoRotate2D(x, angle = 90)

Arguments

x

2-column matrix to be rotated

angle

angle of rotation (in degrees)

Value

matrix

Author(s)

Timothee Flutre

See Also

pca, plotPca


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.