dsvdis(x,index,weight=rep(1,ncol(x)),step=0.0,
diag=FALSE, upper=FALSE)
dist
.
Others are quantitative. For variable i in samples x and y:
The threshold dissimilarity (step) sets all values greater than "step" to 9999.9 and then solves for the shortest path distance connecting plots to other non-9999.9 values in the matrix. Step = 0.0 (the default) is a flag for "no shortest-path correction".
dist
, vegdist
data(bryceveg) # returns a dataframe called "bryceveg"
dis.ochiai <- dsvdis(bryceveg,index="ochiai")
dis.bc <- dsvdis(bryceveg,index="bray/curtis")
Run the code above in your browser using DataLab