Learn R Programming

FlywayNet (version 0.1.0)

plot.migration: Plot a migration network from transition probabilities and mean sojourn time parameters.

Description

Plot a migration network from transition probabilities and mean sojourn time parameters. Currently just plot transition_law_param as edge width and sejourn_law_param as node size of the network

Usage

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

Arguments

x

a migration structure

...

others default arguments

Value

An igraph structure.

Examples

Run this code
# NOT RUN {
migr <- generate_toy_migration()
plot( migr )
# }

Run the code above in your browser using DataLab