weights.wglm | R Documentation |
Extract IPCW weights of IPCW logistic regressions.
## S3 method for class 'wglm'
weights(object, times = NULL, prefix = "t", simplify = TRUE, ...)
object |
a wglm object. |
times |
[numeric vector] time points at which the weights should be output. |
prefix |
[character] used to name the columns. Can be |
simplify |
[logical] should the ouput be converted to a vector when only one timepoint is requested. Otherwise will always return a matrix. |
... |
Not used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.