| survLm_model | R Documentation |
Fit a linear model using data collected from a complex sample
survLm_model(y, X, weights, strata, clusters)
y |
A vector of values |
X |
The design matrix of the linear model |
weights |
A vector of sample weights for each observation |
strata |
A vector of strata labels |
clusters |
A vector of cluster labels |
list containing coefficients, covariance matrix and the residuals