Extract IPCW weights of IPCW logistic regressions.
# S3 method for wglm
weights(object, times = NULL, prefix = "t", simplify = TRUE, ...)
a wglm object.
[numeric vector] time points at which the weights should be output.
[character] used to name the columns. Can be NA
to keep the original names.
[logical] should the ouput be converted to a vector when only one timepoint is requested. Otherwise will always return a matrix.
Not used.