Learn R Programming

GPArotation (version 2024.3-1)

vgQ: Rotations

Description

vgQ routines to compute value and gradient of the criterion (not exported from NAMESPACE)

Usage

vgQ.oblimin(L, gam=0)
    vgQ.quartimin(L)
    vgQ.target(L, Target=NULL)
    vgQ.pst(L, W=NULL, Target=NULL)
    vgQ.oblimax(L)
    vgQ.entropy(L)
    vgQ.quartimax(L)
    vgQ.varimax(L)
    vgQ.simplimax(L, k=nrow(L))
    vgQ.bentler(L)
    vgQ.tandemI(L)
    vgQ.tandemII(L)
    vgQ.geomin(L, delta=.01)
    vgQ.bigeomin(L, delta=.01)
    vgQ.cf(L, kappa=0)
    vgQ.infomax(L)
    vgQ.mccammon(L)
    vgQ.varimin(L)
    vgQ.bifactor(L)

Value

A list (which includes elements used by GPForth and GPFoblq) with:

f

The value of the criterion at L.

Gq

The gradient at L.

Method

A string indicating the criterion.

Arguments

L

a factor loading matrix

gam

0=Quartimin, .5=Biquartimin, 1=Covarimin.

Target

rotation target for objective calculation.

W

weighting of each element in target.

k

number of close to zero loadings.

delta

constant added to Lambda^2 in objective calculation.

kappa

see details.

Author

Coen A. Bernaards and Robert I. Jennrich with some R modifications by Paul Gilbert.

Details

The vgQ.* versions of the code are called by the optimization routine and would typically not be used directly, so these methods are not exported from the package NAMESPACE. (They simply return the function value and gradient for a given rotation matrix.) You can print these functions, but the package name needs to be specified since they are not exported. For example, use GPArotation:::vgQ.oblimin to view the function vgQ.oblimin. The T or Q ending on function names should be omitted for the vgQ.* versions of the code so, for example, use GPArotation:::vgQ.target to view the target criterion calculation.

vgQ.obliminorthogonal or obliqueoblimin family
vgQ.quartiminoblique
vgQ.targetorthogonal or obliquetarget rotation
vgQ.pstorthogonal or obliquepartially specified target rotation
vgQ.oblimaxoblique
vgQ.entropyorthogonalminimum entropy
vgQ.quartimaxorthogonal
vgQ.varimaxorthogonal
vgQ.simplimaxoblique
vgQ.bentlerorthogonal or obliqueBentler's invariant pattern simplicity criterion
vgQ.tandemIorthogonalTandem principle I criterion
vgQ.tandemIIorthogonalTandem principle II criterion
vgQ.geominorthogonal or oblique
vgQ.bigeominorthogonal or oblique
vgQ.cforthogonal or obliqueCrawford-Ferguson family
vgQ.cubimaxorthogonal
vgQ.infomaxorthogonal or oblique
vgQ.mccammonorthogonalMcCammon minimum entropy ratio
vgQ.variminorthogonalvarimin criterion
vgQ.bifactororthogonal or obliquebifactor/biquartimin rotation

See rotations for use of arguments.

New rotation methods can be programmed with a name "vgQ.newmethod". The inputs are the matrix L, and optionally any additional arguments. The output should be a list with elements f, Gq, and Method.

Gradient projection without derivatives can be performed using the GPArotateDF package; type vignette("GPArotateDF", package = "GPArotation") at the command line.

References

Bernaards, C.A. and Jennrich, R.I. (2005) Gradient Projection Algorithms and Software for Arbitrary Rotation Criteria in Factor Analysis. Educational and Psychological Measurement, 65, 676--696.

See Also

rotations

Examples

Run this code
  GPArotation:::vgQ.oblimin
  getAnywhere(vgQ.oblimax)	
  

Run the code above in your browser using DataLab