Calculates the variables necessary to produce a projection plot.
projectionplotvariables(Y, X, W)
The data. A m by n matrix, where m is the number of samples and n is the number of features.
A m by p matrix containing the factor(s) of interest.
A m by k matrix containing the estimated unwanted factors.
A list containing
Regression coefficients from regressing Y on X.
Regression coefficients from regressing W on X.
A reparameterization of alpha.
A reparameterization of W.
Typically intended for internal use, and called after adjustment for known covariates (Z).