score.wglm: Score for IPCW Logistic Regressions

Description Usage Arguments

View source: R/wglm.R

Description

Compute the first derivative of the log-likelihood for IPCW logistic regressions.

Usage

1
2
## S3 method for class 'wglm'
score(x, indiv = FALSE, times = NULL, simplifies = TRUE, ...)

Arguments

x

a wglm object.

indiv

[logical] should the individual score be output? Otherwise the total score (i.e. summed over all individuals will be output).

times

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

simplifies

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

...

Not used.


riskRegression documentation built on Jan. 13, 2021, 11:12 a.m.