plot.mfpp | R Documentation |

Plot function for the Package of Matrix-Based Flexible Project Planning (mfpp)

```
## S3 method for class 'PDM_matrix'
plot(x,w=NULL,Rs=NULL,
type=c("orig","max","min","maximin","minimax","most","const"),
main=NULL,col=NULL,...)
## S3 method for class 'PDM_list'
plot(x,
type=c("orig","max","min","maximin","minimax","most","const"),
main=NULL,col=NULL, ...)
## S3 method for class 'Set_PDM_matrix'
plot(x,w=NULL,Rs=NULL,
type=c("orig","max","min","maximin","minimax","most","const"),col=NULL, ...)
## S3 method for class 'Set_PDM_list'
plot(x,
type=c("orig","max","min","maximin","minimax","most","const"),col=NULL, ...)
## S3 method for class 'TPT'
plot(x,
sched="E", ...)
```

`x` |
an object of class 'PDM_matrix' or 'PDM_list'. |

`w` |
number of completion modes (positive integer) |

`Rs` |
number of resources (positive integer) |

`type` |
set of plots, where (orig) means original, (min) minimal, (max) maximal, (maximin) maximin, (minimax) minimax structures are plotted, respectively, and as well as the minimal/maximal constraints (const) |

`sched` |
character starts are calculated either "E" to early, or "L" to late, or "S" to scheduled start time |

`main` |
title of the plot of fixed structure |

`col` |
color of barplot |

`...` |
other graphical parameters. |

No return value, called for side effects

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.

`summary`

, `generatepdm`

, `percent`

.

```
# Plot PDM lists.
# Define number of modes, flexibility factor and connectivity factor of a project scenerio.
N=4;ff=0.3;cf=0
# Define maximum value of time domain, Cost domain and Resourcces domain of a project scenerio.
mTD=3;mCD=4;mRD=3
# Define number of modes, number of resources,
# number of possible extra tasks, scale and quality domain of a project scenerio.
w=2;nR=2;nW=2
scale=1.6
# Generation of PDM list for TCTP a project scenario using MFPP package.
PDM<-generatepdm(N,ff,cf,mTD,mCD,mRD,w,nR,nW,scale,lst=TRUE)
plot(PDM)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.