tarrotob: Oblique target rotation

View source: R/tarrotob.R

tarrotobR Documentation

Oblique target rotation

Description

Oblique target rotation

Usage

tarrotob(F1, W)

Arguments

F1

Matrix to be rotated

W

Target binary matrix

Value

T

Rotation matrix

A

Rotated matrix

Author(s)

Marlies Vervloet (marlies.vervloet@ppw.kuleuven.be)

Examples

Px <- matrix(rnorm(36),12,3)
print(Px)

W <- matrix(rbinom(36,1,.4),12,3)
Px_r <- tarrotob(Px,W)
print(Px_r$A)

PCovR documentation built on Oct. 26, 2023, 9:06 a.m.