search for: coastnear

Displaying 1 result from an estimated 1 matches for "coastnear".

Did you mean: coaster
2008 Apr 10
1
adonis (vegan package) and subsetted factors
Hi, 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[,...