% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim-utils.R
\name{apply_rotation_promax}
\alias{apply_rotation_promax}
\title{Apply factor rotation to discrimination matrix and latent traits}
\usage{
apply_rotation_promax(a, theta, Corr, rotate, D, promax_m = 4)
}
\arguments{
\item{a}{\eqn{I \times D} discrimination (loading) matrix.}

\item{theta}{\eqn{N \times D} latent trait matrix.}

\item{Corr}{\eqn{D \times D} correlation matrix.}

\item{rotate}{Rotation method name (character).}

\item{D}{Number of dimensions.}

\item{promax_m}{Power parameter for \code{"promax"} (default 4).}
}
\value{
A named list with components \code{a}, \code{theta}, \code{Corr}.
}
\description{
Supports \code{"promax"} (via \code{stats::promax}) and GPArotation
methods (\code{"varimax"}, \code{"oblimin"}, etc.).  Transforms the
discrimination matrix \code{a}, the latent trait matrix \code{theta},
and the correlation matrix \code{Corr} accordingly.
}
\keyword{internal}
