graphizer: Graphizer

Description Usage Arguments Details Value Author(s) Examples

View source: R/graphizer.R

Description

Silly function that generates an arbitrary graph

Usage

1
graphizer(n_people, n_qualities, n_quality_levels, n_rounds)

Arguments

n_people

The number of vertexes. Can't be more than 26.

n_qualities

The number of qualities to compare. Can't be more than 26.

n_quality_levels

The number of possible levels those qualities can have

n_rounds

The number of times to try to generate an edge by comparing two vertexes qualities

Details

Generates a list of people with 'qualities' and then creates probable edges based on how far their qualities are from each other

Value

This function will return an igraph graph.

Author(s)

Matt Simmons mattsimmons@email.com

Examples

1
2
3
4
## Not run: 
g <- graphizer(10, 10, 10, 100)

## End(Not run)

mattsq/examplePackage documentation built on May 23, 2020, 12:23 p.m.