Design Function for Robust Analysis of Covariance
Returns the hetrogeneous slopes design matrix used in ANCOVA. It refereences the first level. Also, column names are supplied.
getxact2(amat,bmat)
amat
: cell mean design matrix of factor.bmat
: matrix of covariates.Returns the heterogeneous slopes analysis of covariance matrix.
Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall.