Re: [R] label plotting on nmds diagram

2007-11-14 Thread Dave Roberts
Using nmds from package labdsv will work, but you are confusing some elements with ordiplot from package vegan. The plot function in labdsv does not produce a new object, it simply plots the requested ordination. There is an accompanying command "plotid" that puts labels on the ordonation.

Re: [R] label plotting on nmds diagram

2007-11-14 Thread Gavin Simpson
On Wed, 2007-11-14 at 15:19 -0300, Antonio Olinto wrote: > Hi Gavin, thanks for your message. > > You are right. The function nmds is from library labdsv and not from vegan. My > mistake. > > Well, that's what I did: > > library(vegan) > library(labdsv) > nms.euc <- nmds(dis.euc,4) > initial va

Re: [R] label plotting on nmds diagram

2007-11-14 Thread Antonio Olinto
Hi Gavin, thanks for your message. You are right. The function nmds is from library labdsv and not from vegan. My mistake. Well, that's what I did: library(vegan) library(labdsv) nms.euc <- nmds(dis.euc,4) initial value 13.457832 iter 5 value 8.589716 iter 10 value 7.989993 iter 15 value 7

Re: [R] label plotting on nmds diagram

2007-11-14 Thread Gavin Simpson
On Wed, 2007-11-14 at 11:22 -0300, Antonio Olinto wrote: > Hi, > > I'm using nmds command (library vegan) to analyze some fishing data. I doubt it - there is no nmds command. Do you mean metaMDS() ? This uses isoMDS() from package MASS with some extra features. > > I'd like to plot not only poi

[R] label plotting on nmds diagram

2007-11-14 Thread Antonio Olinto
Hi, I'm using nmds command (library vegan) to analyze some fishing data. I'd like to plot not only points, but also the names of species and stations in a specified position. I used the command text(nmds$points[,1], nmds $points[,2],labels=row.names(nmds $points),pos=3,cex=0.5) But the labels a