Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

row and col projection #2

Open
jobdiogenes opened this issue Oct 2, 2020 · 0 comments
Open

row and col projection #2

jobdiogenes opened this issue Oct 2, 2020 · 0 comments

Comments

@jobdiogenes
Copy link

jobdiogenes commented Oct 2, 2020

I"m converting a R code that use decorana to Python,
and found fanalysis as alternative to decorana with (ira=1).
Results from R, for the 4 eigen values are same.
But, I did not found how to get Row and Col projections. ??

For example,
in R decorana we coud use:

library("vegan")
X <-read.table("example.tsv", header=TRUE, sep='\t')
ca_ra <- decorana(X, ira=1)
# show col projection
ca_ra$cproj
         RA1        RA2         RA3          RA4
A  1.93003452 -3.4006348 -0.41834170  5.741832353
B  1.93004285 -3.4006350 -0.41834167  5.741832392
C  0.03164434  0.4015328  3.19055179  0.051847893
D  0.60775895 -0.8324331 -0.30835257  0.040141236

where A,B,C,D is columns names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant