Vote count:
0
I need to compute the hamming distance and plot them in clusters in R for a dataset that has 2 columns and 45,000+ rows. Is there well known library available for this? Or do any strategies come recommended stronger than others?
I tried the hamming.distance function from the package "e1071", and get the error below. But even if I figure out how to calculate the hamming distance, I am not sure how to transition from those results to a cluster graph?
Error: evaluation nested too deeply: infinite recursion/options(expressions=)?
2015-02-02 18:50:59.704 R[1162:679616] Communications error: <OS_xpc_error<error: 0x7fff7aaadb60> { count = 1, contents =
"XPCErrorDescription" => <string: 0x7fff7aaadfa8> { length = 22, contents = "Connection interrupted" }
I tried this code:
H<-hamming.distance(df)
Where df looks like this:
Name Code
name1 0
name2 0
name3 1
name4 1
name5 0
Thank you for looking at this question and any help is greatly appreciated.
asked 50 secs ago
How do I calculate the hamming distance in R on a set of binary values?
Aucun commentaire:
Enregistrer un commentaire