I am trying to make Sankey graphs, however, the networkd3 package doesn't seem to work right. When I try to install it in R, the following error comes up:
Error: package or namespace load failed for ‘networkD3’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘igraph’
I am just starting out with R and can use your help to rectify this.
I am trying to make Sankey graphs using this package.