[R] Jaccard dissimilarity matrix for PCA

Flabbergaster jlunding at gmail.com
Tue Dec 28 18:15:36 CET 2010


This sounds like something I could use..
I'm kind of new with R, meaning I've having some minor troubles all the
time...
Say I have a range of binary(0,1) variables X1 to Xn, with missing data for
different cases.
At the moment my data is a binary indicator matrix; rows representing the i
individuals or subjects, columns representing presence(1)/absence(0) of
various characteristics. 
Actually I have 5 groups of variables (102 variables in total), describing
different aspects of the subject(s) I'm studying (people; i.e. refugees).
O -> O1 to O43 
A -> A1 to A38
R -> R1 to R6
AP -> AP1 to AP8
PT -> PT1 to PT7

Can someone help me with the programming of a jaccard matrix in prabclus (or
in any other package). I'm having troubles defining the input-object to the
function, I think?
I get error messages like:
'x' must be an array of at least two dimensions
ERROR:  argument is not a matrix

Jacob


Christian Hennig wrote:
> 
> jaccard in package prabclus computes a Jaccard matrix for you.
> 

-- 
View this message in context: http://r.789695.n4.nabble.com/Jaccard-dissimilarity-matrix-for-PCA-tp3165982p3166205.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list