Create a complete ggplot for a collection of spatial interaction models
Source:R/sim_list_autoplot.R
autoplot.sim_list.Rd
This function uses a tile plot from ggplot2 to display a single numerical value for each of the parameter pairs used to produce the collection of spatial interaction models.
Arguments
- object
a collection of spatial interaction models, an object of class
sim_list
- statistics
the value to display, defaulting to
"shannon"
, see details- inverse
whether to use the cost scale parameter (default)
- order
order of the Rényi entropy, used only when
definition="renyi"
- definition
diversity definition
"shannon"
(default),"renyi"
(see details) or a definition supported byterminals()
- ...
additional parameters (not used currently)
Details
The value to display is selected with the statistics
parameter and defaults
to the Shannon diversity with "shannon"
(see diversity()
). Othervalues
include:
"renyi"
(coupled with theorder
parameter) for Rényi diversity (seediversity()
)"terminals"
(coupled with thedefinition
parameter) for the number of terminals when the origin and destination locations are identical (seeterminals()
)"iterations"
for the number of iterations the[blvim()]
model took to converge
The horizontal axis is used by default for the cost scale parameter, that is
\(1/\beta\). This is in general easier to read than using the inverse cost
scale. The inverse
parameter can be used to turn off this feature. The
vertical axis is used by default for the return to scale parameter.