The aim of this function is to provide users with a quick and easy graphing function that makes best use of the data, whatever its composition.
autographr(
object,
algorithm = "stress",
labels = TRUE,
node_size = NULL,
node_color = NULL,
...
)
migraph-consistent object
an igraph layout algorithm, currently defaults to 'stress' but Fruchterman-Reingold and Kamada-Kawai also available
logical, whether to print node names as labels if present
an override in case this needs to be manually set
node variable in quotation marks that should be used for colouring the nodes
extra arguments
# NOT RUN {
autographr(ison_coleman)
autographr(ison_karateka)
# }
Run the code above in your browser using DataLab