R: Concurrence matrix for given v, b and k

ccmat {ibd} | R Documentation

## Concurrence matrix for given v, b and k

### Description

This function generates the nearly balanced concurrence matrix from given number of treatments (v), number of blocks (b) and block size (k) by trial and error.

### Usage

    ccmat(v,b,k)

### Arguments

`v` | Number of treatments
`b` | Number of blocks
`k` | Block size

### Value

A v by v matrix is returned if a desired concurrence matrix is found, else it returns a v by v matrix of zeros. If the parameters are infeasible for a nearly balanced concurrence matrix, the function returns the parameter values.

### Author(s)

B N Mandal <mandal.stat@gmail.com>

[Package ibd version 1.2 Index]