rotatoR: rotatoR

Description Usage Arguments Value Examples

View source: R/rotatoR.R

Description

a function for rotating two basis about a point or line in that plane

Usage

1
rotatoR(x1, y1, x2, y2, basisSET)

Arguments

x1

a value describing a the coordinate of a point in the first basis. If no values are provided for x2

y1

a value describing a the coordinate of a point in the second basis

x2

a value describing a the coordinate of the second point in the second basis

y2

a value describing a the coordinate of the second point in the second basis

basisSET

the basis to be rotated

Value

An object of class rotatoR.

Examples

1
2
 pca.RNAseq6l3c3t<-prcomp(t(p.RNAseq6l3c3t))
 r.RNAseq6l3c3t<-rotatoR(1,1,-1,-1,pca.RNAseq6l3c3t$rotation[,1:2])

projectR documentation built on Nov. 8, 2020, 7:50 p.m.