View source: R/marriage.graph.R
marriage.graph | R Documentation |
Matrimonial links as an igraph
object; it includes doges' marriages, as well as their fathers', when available.
marriage.graph()
The result of calling the function is an unfiltered igraph
object, which you can use to plot the doges social network. Nodes are families, or "casate", and links indicate a wedding has taken place between the two families. Some attributes are added to the nodes, with a color code for easy plotting.
A list that can be used as an igraph object, with noble family names as vertices and edges indicating links
Data originally from the Wikipedia
J. J. Merelo
link{doges}
library(dogesr)
library(igraph)
all.matrimonial.links <- marriage.graph()
# All families linked to the Contarinis
incident(all.matrimonial.links,as.numeric(V(all.matrimonial.links)["Contarini"]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.