Learn R Programming

autograph (version 0.1.2)

map_measure: Plotting logical marks Plotting numeric measures

Description

These functions plot distributions for node, tie, and network measures, as defined in the {manynet} package.

Usage

# S3 method for node_measure
plot(x, type = c("h", "d"), ...)

# S3 method for tie_measure plot(x, type = c("h", "d"), ...)

# S3 method for network_measures plot(x, ...)

Value

plot.node_measure() and plot.tie_measure() returns a histogram and/or density plot of the distribution of the measure.

plot.network_measures() returns a plot of the measure traced over time.

Arguments

x

An object of "node_measure", "tie_measure", or "network_measures" class.

type

For node and tie measures, whether the plot should be "h" a histogram or "d" a density plot. By default "h".

...

Other arguments to be passed on.

Examples

Run this code
plot(manynet::node_deg(ison_karateka))
plot(manynet::tie_betweenness(ison_karateka))

Run the code above in your browser using DataLab