Skip to contents

Print a transition_audit object

Usage

# S3 method for class 'transition_audit'
print(x, ...)

Arguments

x

A `transition_audit` object.

...

Unused; for S3 compatibility.

Value

`x`, invisibly.

Examples

# 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)
#> === Transition Construction Audit ===
#> 
#> Counts
#>   Input rows:         3 
#>   Edges (scored):     3 
#>   Vertices (result):  3 
#> 
#> Dropped / collapsed
#>   Rows w/ NA endpoint: 0 
#>   Duplicate rows:      0 
#>   Self-loops dropped:  0 
#>   Rows collapsed:      0 
#> 
#> Behavioral coverage
#>   (unweighted / all edges equal)
#> 
#> Duplicate edge policy
#>   Policy:              collapse 
#>   Duplicate rows:      0 
#> 
#> Normalization
#>   PageRank total:      1.000000 
#> 
#> Page mass (stationary vector sums to 1)
#>   Reported (visible):  1.000000 
#>   Evaporated (sink):   0.000000 
#>   Leaked (out-scope):  0.000000 
#>   Hidden (robots):     0.000000 
#>   Total:               1.000000 
#> 
#> Out-of-scope folds (target not a crawled node)
#>   Policy:              relabel 
#>   Out-of-scope folds:  0