Description Usage Arguments Author(s) See Also Examples
This function saves a graph produced with Diderot. The resulting structure is actually a graphml file and can thus be exported to third party software.
1 | save_graph(gr, filename)
|
gr |
Graph object to save. |
filename |
File to save the graph to. |
Christian Vincenot (christian@vincenot.biz)
1 2 3 4 5 6 7 8 9 10 11 | labels<-c("Corpus1","Corpus2")
# Build a bibliographical dataset from Scopus exports
db<-create_bibliography(corpora_files=c(tempfi1,tempfi2),
labels=labels, keywords=NA)
# Build graph
gr<-build_graph(db=db,small.year.mismatch=TRUE, attrs=c("Corpus","Year","Authors"), nb.cores=1)
## Not run: save_graph(gr, "Saved.graphml")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.