Re: [R-sig-eco] How to get the total variance explained from an envfit object?

2019-11-08 Thread Couch, Claire Elizabeth
Dr. Oksanen, thank you so much for taking the time to offer such a clear and detailed response. Very helpful! On Fri, Nov 8, 2019 at 06:31 Jari Oksanen wrote: > Dear Claire Elizabeth Couch, > > First let me explain how envfit() works: For continuous environmental > variables it actually uses ord

Re: [R-sig-eco] How to get the total variance explained from an envfit object?

2019-11-08 Thread Jari Oksanen
Dear Claire Elizabeth Couch, First let me explain how envfit() works: For continuous environmental variables it actually uses ordination to predict the environmental variable. Under the hood (bonnet), it fits a first degree trend surface (plane in 2D) for environmental variable over the ordinat

Re: [R-sig-eco] How to get the total variance explained from an envfit object?

2019-11-08 Thread Juan Antonio Balbuena
Hi, Unfortunately, I cannot give a direct answer to your question since I am not familiar with envfit. However, I wonder whether you have a specific reason to use unconstrained ordination. If you use a constrained method, varpart will produce exactly what you want. (See e.g. https://www.dav

[R-sig-eco] How to get the total variance explained from an envfit object?

2019-11-07 Thread Couch, Claire Elizabeth
I am analyzing some microbiome data by using unconstrained ordination (PCA or NMDS) followed by environmental vector fitting with the envfit function in the vegan package. The output of envfit includes an r2 value for each vector or factor included in the envfit model, but I am interested in the to