Dear R developers,
Would it be possible to make `factanal` to also accept functions and
not just function names for its `rotation` parameter? If I understand
correctly, `do.call` also supports this.
Best greetings,
Stefan
Index: src/library/stats/R/factanal.R
=
> Haan, Stefan via R-devel
> on Thu, 22 Aug 2024 14:03:09 + writes:
> Dear R developers,
> Would it be possible to make `factanal` to also accept functions and
> not just function names for its `rotation` parameter? If I understand
> correctly, `do.call` also suppo
Dear Martin,
The thing I was trying to do, when I tried to pass a function for the
rotation parameter was to call factanal repeatedly with different
rotations to see which factor model would give the best
interpretability.
```R
rotate <- function(phi) {
G <- matrix(c(cos(phi), sin(phi), -