The a_matrix function creates an 'a_matrix' (A) with help of design D2 and 'n_matrix' (N) of design D1.
a_matrix(design2, n_matrix)A design in matrix format
An incidence matrix of a design
It returns matrix (A) with the same dimension as of 'n_matrix' (N).
This functions reads the second design (D2) and the incidence matrix or 'n_matrix' (N) of the first design (D1) as input in matrix format. The dimention of the 'a_matrix' (A) is same as the input incidence matrix (N).