| survLm | R Documentation |
wrapper function for the C++ function survLm_model
survLm( e_equ, data, weights = rep(1, nrow(data)), strata = rep(1L, nrow(data)), clusters = (1L:nrow(data)) )
e_equ |
formula representing the equation to fit |
data |
data.frame |
weights |
formula or vector of sample weights for each observation |
strata |
formula or vector of strata labels |
clusters |
formula or vector of cluster labels |
list containing coefficients, covariance matrix and the residuals