doges.marriages.sn | R Documentation |
An ‘igraph' object that includes doges’ marriages, as well as their fathers', when available.
data(doges.marriages)
An 'igraph' objects, with vertices corresponding to dogi/dogaresse families, edges (links) corresponding to recorded marriages eigher by doges or by their parents, as shown in the sources. Plese note that this dataset includes self-loops, corresponding to doges that married within their own family.
Every node has two attributes
family.type
Traditional "type" of the family, depending on how it became noble.
family.type.color
Color codes for every type of family, for easy plotting
Data originally from the Wikipedia
J. J. Merelo
link{doges}
library(dogesr)
library(igraph)
data(doges.marriages)
# All families linked to the Contarinis
incident(doges.marriages.sn,as.numeric(V(doges.marriages.sn)["Contarini"]))
# Plot graph, with colors depending on the type of family
plot(doges.marriages.sn,vertex.color=V(doges.marriages.sn)$family.type.color)
# Show self-loops in the dataset
print(E(doges.marriages.sn)[which_loop(doges.marriages.sn)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.