Skip to contents

Theming

Functions for tailoring graphs with themes, scales, and palettes.

stocnet_theme() set_stocnet_theme()
Setting a consistent theme for all plots
ag_base() ag_highlight() ag_positive() ag_negative() ag_qualitative() ag_sequential() ag_divergent() ag_font()
Consistent palette calls
match_color() is_dark()
Matching colors across palettes

Graphing

Functions for graphing networks. graphr() graphs any manynet-compatible class object automagically. graphs() and grapht() do the same for multiple networks and dynamic networks, respectively.

graphr()
Easily graph networks with sensible defaults
graphs()
Easily graph a set of networks with sensible defaults
grapht() print(<grapht>)
Easily animate dynamic networks with sensible defaults

Plotting

plot() methods exist for results and other objects for stocnet packages.

plot(<node_measure>) plot(<tie_measure>) plot(<network_measures>)
Plotting logical marks Plotting numeric measures
plot(<node_member>) plot(<matrix>)
Plotting categorical memberships
plot(<node_motif>) plot(<network_motif>)
Plotting tabular motifs
plot(<netlm>) plot(<netlogit>)
Plotting methods for MRQAP models
plot(<diff_model>) plot(<diffs_model>) plot(<learn_model>)
Plotting diffusion models
plot(<network_test>)
Plotting methods for CUG and QAP tests
plot(<outliers.goldfish>) plot(<changepoints.goldfish>)
Plotting adequacy diagnostics
plot(<ag_conv>) plot(<traces.monan>) plot(<ergm>) load_ergm_res()
Plotting convergence diagnostics
plot(<ag_gof>) plot(<gof.stats.monan>) plot(<sienaGOF>) plot(<gof.ergm>)
Plotting goodness-of-fit results
graphr()
Easily graph networks with sensible defaults
graphs()
Easily graph a set of networks with sensible defaults
grapht() print(<grapht>)
Easily animate dynamic networks with sensible defaults
plot(<selectionTable>) plot(<influenceTable>)
Plotting effects interpretation

Layouts

Functions for laying out the nodes in a graph. Included here are some improved or additional layouts to those offered in igraph and ggraph by default.

Results objects from other packages