[R] clustering on Trinary data

Weiwei Shi helprhelp at gmail.com
Tue Aug 7 06:33:43 CEST 2007

Hi, Alex:

I think you need to provide your distance function by your domain
knowledge: for example, for a specific variable, is the distance from
-1 to 1 the same as that of -1 to zero. When you have this own
distance function, you can create a distance matrix. After than, any
cluster package in R can be applied to your question.




On 8/6/07, Alex Tsoi <tsoi.teen at gmail.com> wrote:
> Dear all,
> I have a data matrix with 7 independent variables, and each of them is a
> trinary variable ( - 1, 0 , 1), and I would like to know what kinds of R
> package or method I should use to perform the clustering.
> Thanks for any comment or suggestion.
> --
> Lam C. Tsoi (Alex)
> Medical University of South Carolina
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch 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.

Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III

More information about the R-help mailing list