View source: R/U01-data-validation.R
| validate_method_arguments | R Documentation |
Validates weight_method, censor_method, trimming parameters, time_points, and control lists. Synthesizes all method-specific checks.
validate_method_arguments(
weight_method,
censor_method,
trim_alpha,
trim_q,
time_points,
conf_level,
ps_control,
censor_control,
bootstrap_control,
max_time
)
weight_method |
Character string specifying weighting method. |
censor_method |
Character string specifying censoring method. |
trim_alpha |
Numeric, symmetric trimming threshold. |
trim_q |
Numeric, asymmetric trimming quantile. |
time_points |
Numeric vector or NULL. |
conf_level |
Numeric, confidence level. |
ps_control |
List of PS model control parameters. |
censor_control |
List of censoring model control parameters. |
bootstrap_control |
List of bootstrap control parameters or NULL. |
max_time |
Numeric, maximum observed time (to check time_points range). |
Invisible NULL if checks pass; otherwise throws an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.