Code
set_cache(graph = graph, name = "closeness_df_2", to_cache = closeness_df)
Condition
Error in `set_cache()`:
! `col` must be a column name that exists in the data frame.
Code
set_cache(graph = graph, name = "closeness_df_3", to_cache = closeness_df, col = "nonexistent")
Condition
Error in `set_cache()`:
! `col` must be a column name that exists in the data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.