# plan

#### 2018-05-30

Abstract. The plan package provides functions for planning and describing projects and monitoring the progress towards completions of individual tasks within projects.

# 1 Introduction

This package provides (mainly graphical) tools for the planning of projects. This is an early version of the package, providing support for burn-down charts and Gantt diagrams.

# 2 Burn-down charts

Burndown charts1 are used to display a time series of the progress towards the goals of a project. The format is simple. The x axis represents time, ranging from the onset of the project to the deadline for completion. The y axis represents the remaining effort that is require to accomplish the work. As the work is carried out, the chart provides a running summary of progress towards the deadline. If work is proceeding smoothly according to schedule, the chart takes the form of a triangle, with the remaining effort falling from its initial value to zero at the deadline. For guidance, a gray line is drawn to indicate this ideal situation. If work is being accomplished faster than expected, the data will lie below this gray line. However, if the project is falling behind schedule, the data line will lie above the ideal line. Thus, a glance at the chart indicates whether the deadline can be met. In most cases, the work is divided into sub-tasks, and the remaining effort in each task is shown with a different colour in the chart. This is helpful in identifying tasks that may need more attention.

The following plots the burndown chart

library("plan")
data(burndown)
plot(burndown)

To work with your own files, use read.burndown().

# 3 Gantt charts

Gantt diagrams2 indicate a timetable for completion of the components of a project. The sample dataset gantt is a hypothetical research plan for an MSc project; you can see how it is graphed with demo(gantt) or example(plot.gantt).

The following plots the built-in Gantt diagram. If this seems promising, the reader should continue reading, to learn how to make objects of gantt-class. If not, the best is to try some other software, because only minimal customization is permitted by the plot,gantt-method.

library("plan")
data(gantt)
plot(gantt)

There are three ways to create objects of gantt-class: (a) write information in a text file and use read.gantt(), (b) use as.gantt() to assemble the object in one (somewhat complicated) step, or (c) use new() to create an object and then ganttAddTask() to add tasks one by one. The third approach may be the easiest for beginners, so it is illustrated below, with a sketch of a typical oceanography MSc program. Note that a legend is added, along with an indication of the time at which the graph was prepared.

library("plan")
g <- new("gantt")
legend=c("Completed", "Not Yet Done"), title="MSc plan", bg="white")