I'm trying to add a function to manually (or by-hand, or judgmentally) rotate a factor loadings matrix from principal components analysis to the qmethod
R package.
By-hand rotation as in: one specifies the angle by which to rotate any given pair of factors.
(Yeah it's weird, but it makes sense in Q Methodology.)
For now, I'm not looking for an interactive GUI (though that'd be real nice), but just a CLI interface where you press left
or right
and get updated plots and finally say OK
.
The baseline is something like this from the legacy PQMethod program.
Here's a short video.
My current approach is to use psych::factor.rotate()
, and to program a somewhat interactive (as in right
, left
, OK
) CLI interface on top of that with updating plots.
Still, I wonder whether someone hasn't done this already.
I googled away, but came up short (couldn't even find a by-hand rotation procedure other than psych::factor.rotate()
.
Any suggestions?
Ps.: bonus if you have a suggestion for how to do this with an interactive GUI.
Pps.: anyone kind enough to add a qmethod
tag to this? I don't have the necessary points.