0

I've the following dataset:

```
**Strenght Movie1 Movie2**
23 2 3
80 1 2
10 4 3
```

And I want to create a graph with the relationships between movies having the first column as the strenght of the relationship. How can I do this using R?

Many thanks!

There are several ways how graphs can be represented. Which representation you need depends on what you're planning to do with the graph / what algorithms you want to run on it. – stmax – 2016-09-07T14:01:16.633

I'm tryig to build a graph that shows the relationships of the movies having the first column as the strenght of the relationships. Like the graphs created in Gephi. Which algorithm I need to use? – João_testeSW – 2016-09-07T14:04:05.917

Algorithm may be the wrong word. If you want a graph that demonstrates distance in a network graph as the values in the first column try the igraph package on CRAN https://cran.r-project.org/web/packages/igraph/igraph.pdf

– DaveRGP – 2016-09-08T14:43:57.847The other part to this is you need to specify your edges, i.e. where the joins are. – DaveRGP – 2016-09-08T14:56:41.483