## Fit model on oats data
data(oats.data)
## Fit simple model with only fixed effects.
LMM1 <- LMMsolve(fixed = yield ~ rep + gen,
data = oats.data)
## Obtain coefficients.
coefs1 <- coef(LMM1)
## Obtain coefficients with standard errors.
coefs2 <- coef(LMM1, se = TRUE)
Run the code above in your browser using DataLab