Description Usage Arguments Examples
Generate graph report from a template
1 2 | generate_graph_report(graph, article_name = "graph-report", n = 10,
format = "pdf_document", overwrite = TRUE)
|
graph |
|
article_name |
file name of the article. |
n |
The desired number of quantiles for the edge weight section. |
format |
One or multiple values indicating the desired output format of
the report. See |
overwrite |
If |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
n <- 50
from <- as.integer (runif (min = 0, max = 100, n))
to <- as.integer (runif (min = 0, max = 100, n))
weight <- runif (n)
graph <- data.frame (from, to, weight)
generate_graph_report (graph = graph, n = 5, format = c ("html_document",
"pdf_document", overwrite = FALSE))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.