Description Usage Arguments Value Examples
distance using vegdist
1  | veg.distance(a, b, fun = "bray")
 | 
a | 
 The dataframe of training predictor dataset  | 
b | 
 The dataframe of validation predictor dataset  | 
fun | 
 The distance function  | 
The matrix of distance between a and b
1 2 3 4  | data("physg")
physg.train<-physg[1:10,]
physg.test<-physg[11:30,]
distance<-veg.distance(physg.test,physg.train,"bray")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.