is_clique: Identify a clique

Description Usage Arguments

View source: R/is_clique.R

Description

This function tests if a set of nodes form a clique. A clique is a complete (fully connected) graph. The output of the function is a boolean variable with a value 0 or 1.

Usage

1
is_clique(graph, nodes)

Arguments

graph

A graph that is stored in an adjacency matrix.

nodes

A set of nodes that are expressed in texts, e.g. c("V1", "V2")


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.