row_unique: Checks uniqness of elements in the rows of a matrix

Description Usage Arguments Details Value Author(s)

View source: R/iRoCoDe.R

Description

The row_unique function checks whether each row contains unique treatments.

Usage

1
row_unique(a_matrix, treatments, rows, cols)

Arguments

a_matrix

An 'a_matrix' of the first design (D1)

treatments

The treatments of the second design (D2)

rows

Number of rows in the given 'a_matrix'

cols

Number of columns in the given 'a_matrix'

Details

This function reads an 'a_matrix' (A) generated from two designs (D1 and D2) and checks whether each row contains all the treatments from D2 exactly once.

Value

It returns boolean value (either True or False).

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 row_unique in iRoCoDe...