last.time {ProjectManagement} | R Documentation |
Last time for a deterministic projects
Description
This function calculates the last time for one project.
Usage
last.time(prec1and2 = matrix(0), prec3and4 = matrix(0), duration, early.times)
Arguments
prec1and2 |
A matrix indicating the order of precedence type 1 and 2 between the activities (Default=matrix(0)). If value |
prec3and4 |
A matrix indicating the order of precedence type 3 and 4 between the activities (Default=matrix(0)). If value |
duration |
Vector with the duraciĆ³n for each activity. |
early.times |
Vector with the early times for each activities. |
Value
Last time vector.
References
- bur
Burke, R. (2013). Project management: planning and control techniques. New Jersey, USA.
Examples
prec1and2<-matrix(c(0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0),nrow=5,ncol=5,byrow=TRUE)
duration<-c(3,2,1,1.5,4.2)
early.times<-c(0,0,3.5,2,0)
last.time(prec1and2,duration=duration,early.times=early.times)