On 01-09-2013, at 15:34, Simona Augyte <simona.aug...@uconn.edu> wrote:

> Ok, thanks, that helps. 
> 
> What about running the same code on a bit of a different set of data, ex.;
> korma<- read.csv(text="
> GR  T C       M       B
> 1     0       0       0       1
> 2     0       1       0       0
> 3     1       1       0       1
> 4     1       0       1       1
> 5     0       0       0       1
> 6     1       0       1       1…

Is the … part of your data?
It makes column 5 a factor. Is tha
> ",sep="",row.names=1,header=TRUE)
> 
> str(korma)
> dist(korma)
> korma.dist<- dist(korma)
>  korma.mds <- isoMDS(korma.dist)
> #Error in isoMDS(korma.dist) :   zero or negative distance between objects 1 
> and 5
> # What do I need to do to my data to avoid the error message?

I don't know. Maybe remove … from column 5?  Where does isoMDS come from?

Berend

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to