Learn R Programming

simEd (version 2.0.0)

defaultPlotSkyline: Default Skyline Plotting Function

Description

This function plots a visualization of a queue's skyline (number of jobs in system, queue, and server) based on inputted statistics.

Usage

defaultPlotSkyline(
  times,
  numsInSys,
  numsInQue,
  numsInSvr,
  rangePlot,
  rangeAll,
  show,
  title = ""
)

Arguments

times

Vector of times at which statistics were recorded (x-values)

numsInSys

Number of jobs in the system at a given time, corresponding to provided times.

numsInQue

Number of jobs in the queue at a given time, corresponding to provided times.

numsInSvr

Number of the next job that will enter the queue.

rangePlot

Range/subset of data to plot (vector of min and max)

rangeAll

Range of all of the data (vector of min and max)

show

A vector of 3 logicals that specifies to show number in system, queue, and server, respectively.

title

Title of the plot

Details

Generates a snapshot skyline plot and is the default plotting function for ssq and msq.