ccmat: Concurrence Matrix for Given v, b and k

View source: R/ibd.R

ccmatR Documentation

Concurrence Matrix for Given v, b and k

Description

Generates a 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)

Baidya Nath Mandal <mandal.stat@gmail.com>


ibd documentation built on May 29, 2024, 12:11 p.m.

Related to ccmat in ibd...