Hi!
I am trying to calculate a dissimilarity matrix using daisy.
The matrix vectver is binary as i test with:
> levels(as.factor(vectver))
[1] "0" "1"

But the call to daisy gives me the following error message.:

> dfl1 <- daisy(vectver, type = list(asymm = c(1:length(vectver[,1]))))
Error in daisy(vectver, type = list(asymm = c(1:length(vectver[, 1])))) :
 at least one binary variable has more than 2 levels.

and the call to mona that.

levels(as.factor(vectver))
[1] "0" "1"
> r<-mona(vectver)
Error in mona(vectver) : All variables must be binary (factor with 2 levels).

Eryk.

Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin          'v'
tel: 0049-30-84131285               /   \
mail: wolski@molgen.mpg.de        ---W-W----


	[[alternate HTML version deleted]]


