Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_full_graph

Create a full graph


Description

Create a full graph

Usage

make_full_graph(n, directed = FALSE, loops = FALSE)

full_graph(...)

Arguments

n

Number of vertices.

directed

Whether to create a directed graph.

loops

Whether to add self-loops to the graph.

...

Passed to make_full_graph.

Value

An igraph graph

See Also

Examples

make_full_graph(5)
print_all(make_full_graph(4, directed = TRUE))

igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.