[R-sig-eco] predict NMS scores for new samples

Jari Oksanen jari.oksanen at oulu.fi
Sun Oct 12 22:38:53 CEST 2014


On 12/10/2014, at 23:13 PM, Dave Roberts wrote:

> Hi Jonathan,
> 
>   If you're using the metaMDS function in vegan with the monomds engine then it's possible.  I have posted a function (monomds)  at the bottom of
> 
> http://ecology.msu.montana.edu/labdsv/R/labs/lab9/lab9.html
> 
> that shows how to generate a labdsv:::nmds object from vegan's monomds function (courtesy of Peter Minchin).  You will have to have package vegan loaded to get the monomds FORTRAN code loaded.
> Then you can use the function addpoints.nmds (also at the bottom of that page) to add points to an existing nmds.
> 
>   I'm not convinced that it's a good idea, but I worked with someone who needed it to fulfil contract obligations so I wrote it.
> 
It looks like a very good idea to me.

Cheers, Jari Oksanen



More information about the R-sig-ecology mailing list