This paper presents the giRaph package for R, providing formal classes and methods to handle a broad family of graphs, including graphs with loops, multiple edges and hyperedges (i.e. edges involving more than two vertices) both directed and undirected. Since there is no unique way to represent a graph that is optimal for all computations, four different representations are considered: incidence list, incidence matrix, adjacency list and adjacency matrix. Simple methods to set and retrieve information using these representationsare made available.
Package giRaph for graph representation in R / LA ROCCA, Luca; C., Dethlefsen; J. H., Badsberg. - ELETTRONICO. - CD:(2008), pp. 429-436. (Intervento presentato al convegno 18th COMPSTAT Symposium on Computational Statistics tenutosi a Universidade do Porto nel 24-29 agosto 2008).