Defficiency computes the D- or Ds-efficiency measure for some design with respect to some reference design.Defficiency(des, ref, mod, dsNames = NULL, names = NULL)Defficiency returns a single numeric.where $M_{11}$ is the submatrix corresponding to the parameters in dsNames, $M_{22}$ is the submatrix corresponding to the parameters in names which are not in dsNames, and $M_{12}$ is defined as the resulting off diagonal submatrix.
design, param