survLm_model: Fit a linear model using data collected from a complex sample

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Fit a linear model using data collected from a complex sample

Usage

1
survLm_model(y, X, weights, strata, clusters)

Arguments

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

Value

list containing coefficients, covariance matrix and the residuals


rpms documentation built on June 26, 2021, 1:07 a.m.