I have a network.
In which the nodes are connected like this :
A-B
B-C
A-C
B-D
E-F
F-G
H-G
H-E
I want them to be clustered like ABCD and EFGH.
Is there a way to do it in R??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Thought I’d bang together a direct solution to provide a useful comparison (and practice my coding – all pointers welcome…)
The output is, as expected: