knitr::opts_chunk$set(message=FALSE, warning=FALSE, autodep=TRUE)

Overview

subgraph is a system for displaying graphs by showing the connected edges. You prvide the name of nodes, and the name of graph which is based on the graph list. Then subgraph will provide you all homogenous graphs by showing the connected edges. The maximum number of nodes is 6.

Overview

subgraph is a system for displaying graphs by showing the connected edges. Base on the graph list

Installation

# install.packages("devtools")
devtools::install_github("placeboo/subgraph")
install.packages("combinat", repos = "http://cran.us.r-project.org")

Useage

library(subgraph)
library(combinat)

If we want to display all the possible homogenous graphs for claw, whose number of nodes is 4,

claw(c(1:4))

More

Check the help page. The package is incorporated with the working paper of mine.



placeboo/subgraph documentation built on May 29, 2019, 7:37 a.m.