# blockboundary.plot: This function plots a block boundary on a plot produced by... In dae: Functions Useful in the Design and ANOVA of Experiments

## Description

This function plots a block boundary on a plot produced by `design.plot`. It allows control of the starting unit, through rstart and cstart, and the number of rows (nr) and columns (nc) from the starting unit that the blocks to be plotted are to cover. However, it is being supersed by `blockboundaryPlot`, which has more descriptive argument names.

## Usage

 ```1 2``` ```blockboundary.plot(bdef = NULL, bseq = FALSE, rstart= 0, cstart = 0, nr, nc, bcol = 1, bwd = 2) ```

## Arguments

 `bdef` A `matrix` of block sizes: 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. `bseq` A `logical` thatt determines whether block numbers are repetitions or sequences of block numbers. `rstart` A `numeric` speccifying the row after which the plotting of block boundaries is to start. `cstart` A `numeric` speccifying the column after which the plotting of block boundaries is to start. `nr` A `numeric` the number of rows (nr), from the starting unit, that the blocks to be plotted are to cover. `nc` A `numeric` the number of columns (nc), from the starting unit, that the blocks to be plotted are to cover. `bcol` A `character string` specifying the colour of the block boundary. See `Colour specification` under the `par` function. `bwd` A `numeric` giving the width of the block boundary to be plotted.

## Value

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

`design.plot`, `par`, `DiGGer`
 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25``` ```## 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] windows() design.plot(SPL.Lines.mat,trts=1:10,new=TRUE, rstr="Rows",cstr="Columns", chtdiv=3, rprop = 1,cprop=1, plotbndry = TRUE) #Plot Mainplot boundaries blockboundary.plot(bdef = cbind(4,16), rstart = 1, bwd = 3, bcol = "green", nr = 9, nc = 16) blockboundary.plot(bdef = cbind(1,4), bwd = 3, bcol = "green", nr = 1, nc = 16) blockboundary.plot(bdef = cbind(1,4), rstart= 9, bwd = 3, bcol = "green", nr = 10, nc = 16) #Plot all 4 block boundaries blockboundary.plot(bdef = cbind(8,5,5,4), bseq=T, cstart = 1, rstart= 1, bwd = 3,bcol = "blue", nr = 9, nc = 15) blockboundary.plot(bdef = cbind(10,16), bwd=3,bcol="blue", nr=10, nc=16) #Plot border and internal block boundaries only blockboundary.plot(bdef = cbind(8,14), cstart = 1, rstart= 1, bwd = 3, bcol = "blue", nr = 9, nc = 15) blockboundary.plot(bdef = cbind(10,16), bwd = 3, bcol = "blue", nr = 10, nc = 16) ## End(Not run) ```