Displaying 1 result from an estimated 1 matches for "gel_data".
Did you mean:
el_data
2008 Apr 10
1
adonis (vegan package) and subsetted factors
...i,
I'm trying to use adonis on a subset of data from a dataframe. The
actual data is in columns 5:118, and the first four columns are various
factors. There are 3 levels of the factor Habitat, and I want to examine
differences among only two of them. So I started with:
> CoastNear = subset(gel_data, Habitat != "I")
The resulting data.frame has three levels for Habitat, but only two of
those levels have any records. Then I run:
> adonis(CoastNear[,5:118]~Habitat, data = CoastNear,permutations=1000,
+ method='jaccard')
Call:
adonis(formula = CoastNear[, 5:118] ~ Habitat,...