Print Method for wtna_mixed
Usage
# S3 method for class 'wtna_mixed'
print(x, ...)Examples
oh <- matrix(c(1,0,0, 0,1,0, 0,0,1, 1,0,0), nrow = 4, byrow = TRUE,
dimnames = list(NULL, c("A","B","C")))
mixed <- wtna(oh, method = "both")
print(mixed)
#> Mixed Window TNA (transition + co-occurrence)
#> -- Transition (directed) --
#> Nodes: 3 | Edges: 3
#> -- Co-occurrence (undirected) --
#> Nodes: 3 | Edges: 6
# \donttest{
oh <- data.frame(
A = c(1,0,1,0,1,0,1,0),
B = c(0,1,0,1,0,1,0,1),
C = c(1,1,0,0,1,1,0,0)
)
mixed <- wtna(oh, method = "both")
print(mixed)
#> Mixed Window TNA (transition + co-occurrence)
#> -- Transition (directed) --
#> Nodes: 3 | Edges: 9
#> -- Co-occurrence (undirected) --
#> Nodes: 3 | Edges: 6
# }