weights.wglm: Extract IPCW Weights

View source: R/wglm.R

weights.wglmR Documentation

Extract IPCW Weights

Description

Extract IPCW weights of IPCW logistic regressions.

Usage

## S3 method for class 'wglm'
weights(object, times = NULL, simplify = TRUE, ...)

Arguments

object

a wglm object.

times

[numeric vector] time points at which the weights should be output.

simplify

[logical] should the ouput be converted to a vector when only one timepoint is requested. Otherwise will always return a matrix.

...

Not used.


tagteam/riskRegression documentation built on Oct. 19, 2024, 7:43 p.m.