SVall: Compute weights for all time points

View source: R/SVall.r

SVallR Documentation

Compute weights for all time points

Description

modifed ipwtm function to compute the weights for all time points in the dataset (from Graffeo et al DOI: 10.1002/bimj.20160223)

Usage

SVall(
  exposure,
  numerator = NULL,
  denominator,
  id,
  tstart,
  timevar,
  data,
  trunc = NULL
)

Arguments

exposure

exposure variable

numerator

numerator as in ipw package

denominator

denominator as in ipw package

id

patient id

tstart

time interval start

timevar

timeinterval stop

data

data.frame

trunc

truncation value

Author(s)

JuG

References

Graffeo et al DOI: 10.1002/bimj.20160223


jgodet/utilitR documentation built on May 16, 2024, 12:01 p.m.