get_lsmeans {pmartR} | R Documentation |
Compute the least squares means from a prediction grid and estimated coefficients
Description
Compute the least squares means from a prediction grid and estimated coefficients
Usage
get_lsmeans(data, xmatrix, pred_grid, Betas, continuous_covar_inds = NULL)
Arguments
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. |
Value
A data frame of the least squares means
Author(s)
Daniel Claborne
[Package pmartR version 2.4.5 Index]