Variation partitioning using latitude and longitude as explanatory variables
0
0
Entering edit mode
6.2 years ago
ieie ▴ 10

am using the varpart function present in the vegan package. this is my script:

`CR_all.fun_var_part <- varpart(all_fungi, ~ age, ~ lat +long, data = Cr_var)

CR_all.fun_var_part

plot(CR_all.fun_var_part, digits=2)`

my response variable, all fungi, was the abundance matrix which I transformed with the hellinger method. age (X1) represents the different ages of my forests which I scaled with scale function. if I want to use my GPS coordinates as X2 how should I treat them?should I transform them? How should the script for the varpart function be? I hope my question was not too vague and I thank everyone for any help.

R vegan • 1.1k views
ADD COMMENT

Login before adding your answer.

Traffic: 3130 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6