get_lsmeans | R Documentation |
Compute the least squares means from a prediction grid and estimated coefficients
get_lsmeans(data, xmatrix, pred_grid, Betas, continuous_covar_inds = NULL)
data |
The raw data from which the estimates were computed |
xmatrix |
The design matrix from which the prediction grid was constructed |
pred_grid |
The prediction grid, obtained from |
Betas |
The estimated coefficients |
continuous_covar_inds |
The column indices of xmatrix corresponding to continuous covariates. |
A data frame of the least squares means
Daniel Claborne
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.