Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 71: |
Line 71: |
| G = graph_from_data_frame(d=edges, v=nodes) %>% as_tbl_graph() | | G = graph_from_data_frame(d=edges, v=nodes) %>% as_tbl_graph() |
| </syntaxhighlight> | | </syntaxhighlight> |
|
| |
|
| |
| == Troubleshooting ==
| |
|
| |
| You will probably want to do this assignment by creating a new Quarto document.
| |
|
| |
| There are a few ways to do this, but the easiest is to open VSCode, go to the directory where you want to save the file, and then:
| |
|
| |
| 1. Click File > New File
| |
| 2. A popup menu should appear, which lets you select "Quarto Document"
| |
| 3. You should now have a new document, where you can paste in either the School data or the Harry Potter code above to load the network.
| |