View source: R/gen_pseudo_values.R
GenPseudo | R Documentation |
Generates pseudo-values for each patient as the target parameter plus the influence function.
GenPseudo(
data,
tau = NULL,
type = "prob",
status_name = "status",
time_name = "time"
)
data |
Data.frame. |
tau |
Truncation time. |
type |
Type of pseudo-value, select "prob" for probability and "rmst" for restricted mean survival time. |
status_name |
Name of status column. |
time_name |
Name of time column. |
Data.frame including the influence function and pseudo-value for each observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.