weights.Wald_lmm {LMMstar} | R Documentation |
Extract Weights Used to Pool Estimates
Description
Extract weights used to pool estimates.
Usage
## S3 method for class 'Wald_lmm'
weights(object, method, ...)
Arguments
object |
a |
method |
[character] method for combining the estimates, one of |
... |
Not used. For compatibility with the generic method. |
Value
a numeric vector whose elements sum to 1.
Examples
set.seed(10)
dL <- sampleRem(250, n.times = 3, format = "long")
e.mlmm <- mlmm(Y~X1+X2+X6, repetition = ~visit|id, data = dL,
by = "X4", effects = "X1=0", structure = "CS")
weights(e.mlmm, method = "average")
weights(e.mlmm, method = "pool.fixse")
weights(e.mlmm, method = "pool.se")
weights(e.mlmm, method = "pool.gls")
[Package LMMstar version 1.1.0 Index]