corybrunson / ordr

manage ordinations and render biplots in a tidyverse workflow
https://corybrunson.github.io/ordr/
GNU General Public License v3.0
22 stars 5 forks source link

Is psych::principal supported? #49

Open mshakirDr opened 2 years ago

mshakirDr commented 2 years ago

Hi There I have been exploring many packages to try and find a biplot function for psych::principal output. Do you plan to add support for this?

corybrunson commented 2 years ago

I very much want to! See this issue at the ordr.extra repo, which is meant as a repository for methods for numerous additional classes. psych::principal() output is on the list.

My first priority there is to write a vignette that explains how to write methods for a new class (see this issue). I hope that will make it easier for the community to contribute. I have limited bandwidth this year, but i hope to at least have the vignette up within a couple of months. : \

corybrunson commented 3 weeks ago

Hi @mshakirDr ! psych::principal() is now supported in the development version of {ordr.extra}. You can install it as follows, and it should still work with the CRAN version of {ordr}:

remotes::install_github("corybrunson/ordr.extra")

Please let me know if you encounter problems or have suggestions.

Support for psych::fa() is in the works, along with a vignette illustrating how to further extend {ordr} to additional ordination model classes. Those goals are detailed on an issue there, so feel free to close this issue if the current version meets your needs.