Re: [R] how to reduce stress value in isoMDS?

2008-09-03 Thread
No, the two dimensions are the same. It's a dissimilarity matrix in the txt file. data[x][x]=0 data[x][y]=data[y][x] and 0<=data[x][y]<=1. 2008/9/3, stephen sefick <[EMAIL PROTECTED]>: > > different dimensions? > > On Wed, Sep 3, 2008 at 8:13 AM, 陈武 <[EMAIL PROTECTED]> wrote: > > haha...wron

Re: [R] how to reduce stress value in isoMDS?

2008-09-03 Thread
haha...wrong code again, it's isoMDS not sammon in the 5th line. Thanks for Victor Lemes Landeiro's and Brian D. Ripley's advice. ÔÚ08-9-3£¬Prof Brian Ripley <[EMAIL PROTECTED]> дµÀ£º > > There is still no call to isoMDS in your code, and nothing we can > reproduce. > > It all depends on the dis

Re: [R] how to reduce stress value in isoMDS?

2008-09-02 Thread
Sorry, wrong code. The right one here: library(MASS) cl<-read.table("e:/data.txt",header=T,sep=",") row.names(cl)<-colnames(cl) cm<-as.matrix(cl) loc<-sammon(cm) jpeg(filename="e:/plot.gif",width = 480, height = 480, units = "px", pointsize = 12, quality = 75, bg = "white", res = NA, restoreConsol

[R] how to reduce stress value in isoMDS?

2008-09-02 Thread
I apply isoMDS to my data, but the result turns out to be bad as the stress value stays around 31! Yeah, 31 ,not 3.1... I don't know if I ignore something before recall isoMDS. My code as follow: m <- read.table("e:/tsdata.txt",header=T,sep=",") article_number <- ts(m, start = 2004,end=2008, frequ

[R] why isoMDS not found?

2008-08-31 Thread
When I type "isoMDS()" in the R environment, a error shows up: no such function "isoMDS". Why? And what should I do to use isoMDS? Additionally, I cannot install add-on packages. Typing "Rcmd.exe INSTALL e:/VR_7.2-44.zip" results in "'perl' is neither command nor executable file...". Why this happe