survLm: survLm

Description Usage Arguments Value

View source: R/sfun_rpm_20_04_04.R

Description

wrapper function for the C++ function survLm_model

Usage

1
2
3
4
5
6
7
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


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