Compute the least squares means from a prediction grid and estimated coefficients
get_lsmeans(data, xmatrix, pred_grid, Betas, continuous_covar_inds = NULL)
A data frame of the least squares means
The raw data from which the estimates were computed
The design matrix from which the prediction grid was constructed
The prediction grid, obtained from get_pred_grid
The estimated coefficients
The column indices of xmatrix corresponding to continuous covariates.
Daniel Claborne