n_matrix: Generates the Incidence Matrix (N) of a Design

Description Usage Arguments Details Value Author(s)

View source: R/iRoCoDe.R

Description

The n_matrix functions creates an incidence matrix/'n_matrix' (N) from a given design.

Usage

1
n_matrix(design, treatments, blocks)

Arguments

design

A design in matrix format

treatments

Number of treatments in the given design

blocks

Number of blocks in the given design

Details

This functions reads a design (D1) in matrix format, its no. of treatments (v1) and its no. of blocks (b1) as input. Here the rows of design D1 are treated as blocks. The generated incidence matrix (N) will have the dimension of (v1 x b1).

Value

It returns a matrix (N) with the dimension of (v1 x b1)

Author(s)

1) Sayantani Karmakar 2) Md. Ashraful Haque 3) Cini Varghese 4) Seema Jaggi 5) Eldho Varghese 6) Mohd. Harun


iRoCoDe documentation built on Jan. 25, 2022, 5:08 p.m.

Related to n_matrix in iRoCoDe...