oaqc: Orbit-aware Quad Census computation

Description Usage Arguments Value Examples

View source: R/oaqc.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
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)

oaqc documentation built on May 1, 2019, 9:18 p.m.