View source: R/mfpp.R View source: R/tpq.r
tpq | R Documentation |
Calculate Total Project Quality of a project structure.
tpq (DSM,PEM,q,QD=NULL)
DSM |
N by N Upper triangular binary matrix of logic domain (a project structure of a PEM matrix)(a numeric matrix). |
PEM |
N by N Upper triangular binary matrix of logic domain (a numeric matrix). |
q |
N by 1 vector of quality parameters (a numeric vector). |
QD |
N by w Quality Domain to calculate relative TPQ. The default value is QD=NULL |
TPQ |
Total Project Quality (a scalar). |
Zsolt T. Kosztyan, Aamir Saghir*
e-mail: kzst@gtk.uni-pannon.hu
KosztyƔn, Z. T. (2022). MFPP: Matrix-based flexible project planning. SoftwareX, 17, 100973.
tpc
, tpr
, tpt
, maxscore_PEM
.
# Calculatation of total project quality of a project using MFPP package.
library(pracma)
# Generation of a 10 by 10 upper triangular binary matrix (PEM) of logic domain of a project.
PEM <- triu(rand(10)*0.5+0.5)
# Generation of a 10 by 10 Upper triangular binary matrix of logic domain
# (a project structureof a PEM matrix).
DSM <- round(PEM)
# Generation of a 10 by 1 vector of quality parameters of a project.
q <- rand(10,1)
# For fixed project plan the TPQ is the geometric mean of quality parameters
tpq(DSM,DSM,q)
# For flexibility project plan the TPQ
# is the weighted geometric mean of
# quality parameters
tpq(DSM,PEM, q)
QD2<-cbind(q,rand(10,1)) # Generate two completion modes
# Calculate relative quality considering the best choice
tpq(DSM,PEM,q,QD2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.