oaqc {oaqc}R Documentation

Orbit-aware Quad Census computation

Description

Calculates the orbit-aware quad census on an edge and node level, see vignette('oaqc').

Usage

oaqc(graph, non_ind_freq = F, file = "")

Arguments

graph

A matrix, data.frame or graph object.

non_ind_freq

A flag indicating whether non-induced frequencies have to be returned or not.

file

Name (and location) of the file to be written.

Value

orbit-aware quad census on a node and edge level. Consult vignette('oaqc') to see the correspondence between orbit and quad.

Examples

k4 <- data.frame(
  source = c(0, 0, 0, 1, 1, 2),
  target = c(1, 2, 3, 2, 3, 3)
)

k4orbits <- oaqc(k4, non_ind_freq = TRUE)
print(k4orbits)

[Package oaqc version 1.0 Index]