get_lsmeans: Compute the least squares means from a prediction grid and...

get_lsmeansR 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 get_pred_grid

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


pmartR/pmartRqc documentation built on April 25, 2024, 6:18 a.m.