Plotting Methods for 'simmer'

A set of plotting methods for 'simmer' trajectories and simulations.


News

simmer.plot 0.1.12

New features

  • New S3 methods for plotting monitoring statistics, which enable us to call plot() on the output of get_mon_arrivals(), get_mon_attributes() and get_mon_resources() (see ?plot.mon). Calling plot() on the simmer environment will continue to work, but it is deprecated (#11).

Minor changes and fixes

  • Better defaults for resources and attributes: all names/keys are plotted if nothing is specified (#13).

simmer.plot 0.1.11

Minor changes and fixes

  • Fix trajectory parsing with variable-length pointers (#9).
  • Update to tidyr 0.7.x (da58045).
  • Update to DiagrammeR 0.9.1 (247aa4f).

simmer.plot 0.1.10

Minor changes and fixes

  • Fix resource utilization plot with varying resource capacity (#8).
  • Fix trajectory parsing with yet another NULL pointer format: (nil) (#4).
  • Update to dplyr 0.7.x (537cdea).

simmer.plot 0.1.9

Minor changes and fixes

  • Workaround for Solaris SPARC (#2).
  • Remove ignored edges in clone() (#6).
  • Add optional verbose info in plot.trajectory() labels (#5).

simmer.plot 0.1.8

Minor changes and fixes

  • Fix forks with a single path (5fa5937).
  • Re-arrange dataframes in tests (6cc4f0a).
  • Fix trajectory parsing with another NULL pointer format: 0x0 (#4).

simmer.plot 0.1.7

Minor changes and fixes

  • Fix trajectory parsing (8295c52). Parsing DOT is definitely unreliable. Rely entirely on DiagrammeR.

simmer.plot 0.1.6

Minor changes and fixes

  • More robust testing (d4879ee, trying to address #2).
  • Visual improvements for plot.trajectory() (9b49f83, d84a469).
  • Assign the dashed-gray edge style to subtrajectories in a consistent way (addressing #3).
  • Fix some defaults (8a7fb7d).
  • Do not plot cumulative average and steps at the same time for resources usage (89040bd).
  • Change alpha with the number of replications (60beae2).

simmer.plot 0.1.5

Minor changes and fixes

  • Fix plot of trajectories without forks or rollbacks (332ec61).
  • Fix plot of trajectories with a single node (f787c95).
  • Fail gracefully with empty trajectories (2d42d7f).
  • Fail gracefully if simmer doesn't return pointers (3be41cf, a60a641). This should not happen, though.
  • Improve tests (a9e7fa0).
  • Update to DiagrammeR 0.9.0 (dbc01b8).

simmer.plot 0.1.4

Minor changes and fixes

  • Fix trajectory parsing (da45863). Different compilers represent NULL pointers in different ways: 0, (nil)...

simmer.plot 0.1.3

Minor changes and fixes

  • Reduce the footprint caused by the "Plotting simmer trajectories" vignette, thus solving also a WARN in Solaris builds (9cb833a).
  • Assign reproducible identifiers to nodes instead of using external pointers in plot.trajectory(). The DOT output can be verified regardless of the ordering (3c3bc9b).

simmer.plot 0.1.1

New features

  • This package detaches plotting functionalities from the simmer package (present in versions 3.5.x and below). The old plot_resource_usage(), plot_resource_utilization(), plot_evolution_arrival_times() and plot_attributes() are implemented as an S3 method for the plot() generic (see ?plot.simmer).
  • An S3 method for plotting diagrams of trajectories is also provided (see ?plot.trajectory).

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("simmer.plot")

0.1.13 by Iñaki Ucar, 4 months ago


http://r-simmer.org, https://github.com/r-simmer/simmer.plot


Report a bug at https://github.com/r-simmer/simmer.plot/issues


Browse source code at https://github.com/cran/simmer.plot


Authors: Iñaki Ucar [aut, cph, cre] (<https://orcid.org/0000-0001-6403-5550>), Bart Smeets [aut, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports DiagrammeR, dplyr, tidyr, scales, utils

Depends on simmer, ggplot2

Suggests testthat, knitr, rmarkdown


Suggested by simmer.


See at CRAN