Description Usage Arguments Value Author(s) Examples
Calculates a matrix needed for other routines in the lsmeans package. This function is computationally demanding and there is no need to call it more than once for a given model.
1 | CalculateMmatrix(myModel, myData)
|
myModel |
An object of class lm, gls, mle, glm, mer, lmerMod or glmerMod |
myData |
A data frame included in the data argument of the call to the lm, gls, mle, glm, lmer and glmer functions. |
An object of class matrix. This matrix is required as an argument of the following function of the lsmeans package:
CalculateMatrixofMeansAndStandardErrors() MeanAndVariance() MeansComparison()
Julio A. Di Rienzo <email: dirienzo@agro.unc.edu.ar>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.