n_matrix {iRoCoDe}R Documentation

Generates the Incidence Matrix (N) of a Design

Description

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

Usage

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


[Package iRoCoDe version 1.0.1 Index]