GenPseudo | R Documentation |
Generate Pseudovalues
GenPseudo(
data,
cens_after_last = TRUE,
idx_name = "idx",
status_name = "status",
tau = NULL,
time_name = "time",
weights = NULL
)
data |
Data.frame. |
cens_after_last |
Should subjects who lack an explicit censoring time be censored after their last observed event? |
idx_name |
Name of column containing a unique subject index. |
status_name |
Name of column containing the status. Must be coded as 0 for censoring, 1 for event, 2 for death. Each subject should have an observation-terminating event, either censoring or death. |
tau |
Numeric truncation time. |
time_name |
Name of column containing the observation time. |
weights |
Optional column of weights, controlling the size of the jump in the cumulative count curve at times with status == 1. |
Data.frame with the influence and pseudo-value for each unique observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.