From: jari.oksanen at oulu.fi
To: droberts at montana.edu
Date: Sun, 12 Oct 2014 20:38:53 +0000
CC: r-sig-ecology at r-project.org
Subject: Re: [R-sig-eco] predict NMS scores for new samples
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