blockboundaryPlot {dae} | R Documentation |

`designPlot`

.This function plots a block boundary on a plot produced by `designPlot`

.
It allows control of the starting unit, through rstart and cstart,
and the number of rows (nrows) and columns (ncolumns) from the starting unit
that the blocks to be plotted are to cover.

```
blockboundaryPlot(blockdefinition = NULL, blocksequence = FALSE,
rstart= 0, cstart = 0, nrows, ncolumns,
blocklinecolour = 1, blocklinewidth = 2)
```

`blockdefinition` |
A if there is only one row, then the first element is interpreted as the no. rows in each block and blocks with this number of rows are to be repeated across the rows of the design. if there is more than one row, then each row of the matrix specifies a block, with the sequence of rows in the matrix specifying a corresponding sequence of blocks down the rows of the design.
Similarly, a single value for a column specifies a repetition of blocks of that size across the columns of the design, while several column values specifies a sequence of blocks across the columns of the size specified. |

`blocksequence` |
A |

`rstart` |
A |

`cstart` |
A |

`nrows` |
A |

`ncolumns` |
A |

`blocklinecolour` |
A See |

`blocklinewidth` |
A |

no values are returned, but modifications are made to the currently active plot.

Chris Brien

`designPlot`

, `par`

, `DiGGer`

```
## Not run:
SPL.Lines.mat <- matrix(as.numfac(Lines), ncol=16, byrow=T)
colnames(SPL.Lines.mat) <- 1:16
rownames(SPL.Lines.mat) <- 1:10
SPL.Lines.mat <- SPL.Lines.mat[10:1, 1:16]
designPlot(SPL.Lines.mat, labels=1:10, new=TRUE,
rtitle="Rows",ctitle="Columns",
chardivisor=3, rcellpropn = 1, ccellpropn=1,
plotcellboundary = TRUE)
#Plot Mainplot boundaries
blockboundaryPlot(blockdefinition = cbind(4,16), rstart = 1,
blocklinewidth = 3, blockcolour = "green",
nrows = 9, ncolumns = 16)
blockboundaryPlot(blockdefinition = cbind(1,4),
blocklinewidth = 3, blockcolour = "green",
nrows = 1, ncolumns = 16)
blockboundaryPlot(blockdefinition = cbind(1,4), rstart= 9, nrows = 10, ncolumns = 16,
blocklinewidth = 3, blockcolour = "green")
#Plot all 4 block boundaries
blockboundaryPlot(blockdefinition = cbind(8,5,5,4), blocksequence=T,
cstart = 1, rstart= 1, nrows = 9, ncolumns = 15,
blocklinewidth = 3,blockcolour = "blue")
blockboundaryPlot(blockdefinition = cbind(10,16), blocklinewidth=3, blockcolour="blue",
nrows=10, ncolumns=16)
#Plot border and internal block boundaries only
blockboundaryPlot(blockdefinition = cbind(8,14), cstart = 1, rstart= 1,
nrows = 9, ncolumns = 15,
blocklinewidth = 3, blockcolour = "blue")
blockboundaryPlot(blockdefinition = cbind(10,16),
blocklinewidth = 3, blockcolour = "blue",
nrows = 10, ncolumns = 16)
## End(Not run)
```

[Package *dae* version 3.2-13 Index]