coef.wqs {miWQS} | R Documentation |
Finding WQS Coefficients
Description
An accessor function that returns the coefficients from the validation WQS model, a wqs object.
Usage
## S3 method for class 'wqs'
coef(object, ...)
Arguments
object |
An object of class "wqs", usually as a result of |
... |
other arguments. |
Details
In a wqs object, the fit element, a glm2 object, is extracted. See glm2{glm2}
.
See Also
Other wqs:
analyze.individually()
,
do.many.wqs()
,
estimate.wqs.formula()
,
estimate.wqs()
,
make.quantile.matrix()
,
plot.wqs()
,
print.wqs()
Examples
# Use simulated dataset and set seed for reproducibility.
data(simdata87)
set.seed(23456)
Wa <- estimate.wqs(
y = simdata87$y.scenario, X = simdata87$X.true[, 1:3],
B = 10, family = "binomial"
)
coef(Wa)
[Package miWQS version 0.4.4 Index]