## The examples are not run by `example(ordisurf)' because they need
## libraries `mgcv' and `akima' which may not exist in every system.
data(varespec)
data(varechem)
library(MASS)
library(mva)
vare.dist <- vegdist(varespec)
vare.mds <- isoMDS(vare.dist)
attach(varespec)
attach(varechem)
ordisurf(vare.mds, Baresoil, xlab="Dim1", ylab="Dim2")
## Total cover of reindeer lichens
ordisurf(vare.mds, Cla.ste+Cla.arb+Cla.ran, xlab="Dim1", ylab="Dim2")
Run the code above in your browser using DataLab