View source: R/transition_audit.R
| print.transition_audit | R Documentation |
Print a transition_audit object
## S3 method for class 'transition_audit'
print(x, ...)
x |
A 'transition_audit' object. |
... |
Unused; for S3 compatibility. |
'x', invisibly.
# A transition_audit is attached to every pagerank() result; print it to
# get a human-readable construction / provenance summary.
edges <- data.frame(from = c("a", "a", "b"), to = c("b", "c", "c"))
result <- pagerank(edges)
audit <- attr(result, "transition_audit")
print(audit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.