Description Usage Arguments Details Value Author(s) References See Also Examples

Extract the fixed effects, random effects, variance of the fixed effects, or variance of the random effects from a linear mixed effects model fit with lmekin.

1 2 3 4 5 6 7 8 9 10 |

`object` |
an object inheriting from class |

`x` |
an object inheriting from class |

`...` |
some methods for this generic require additional arguments. None are used in this method. |

For the random effects model *y = X beta
+ Zb + e*, let *s^2* be the variance of the error term
*e*.
Let *A = sP* be the variance of the random effects
*b*. There is a computational advantage to solving the problem
in terms of *P* instead of *A*, and that is what is
stored in the returned lmekin object.
The `VarCorr`

function returns elements of *P*; the print
and summary functions report values of *A*.
Pinhiero and Bates call *P* the precision factor.

the fixed effects are a vector and vcov returns their variance/covariance matrix. The random effects are a list with one element for each random effect. The ranef component contains the coefficients and VarCorr the estimated variance/covariance matrix. The logLik method returns the loglikelihood along with its degrees of freedom.

Terry Therneau

J Pinheiro and D Bates, Mixed-effects models in S and S-Plus. Springer, 2000.

`lmekin`

, `random.effects`

,
`fixed.effects`

, `link{vcov}`

, `VarCorr`

1 2 3 |

```
Loading required package: survival
Loading required package: bdsmatrix
Attaching package: 'bdsmatrix'
The following object is masked from 'package:base':
backsolve
$Subject
8 5 4 9 6
-1.708721e+00 -1.495131e+00 -8.543605e-01 -2.135901e-01 3.335141e-16
3 7 1 2
4.271802e-01 4.271802e-01 1.708721e+00 1.708721e+00
```

coxme documentation built on May 13, 2018, 5:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.