survLm {rpms} | R Documentation |
survLm
Description
wrapper function for the C++ function survLm_model
Usage
survLm(
e_equ,
data,
weights = rep(1, nrow(data)),
strata = rep(1L, nrow(data)),
clusters = (1L:nrow(data))
)
Arguments
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 |
Value
list containing coefficients, covariance matrix and the residuals
[Package rpms version 0.5.1 Index]