Umbrella function that calls all validation functions and returns the cleaned dataset with complete cases ready for model fitting.
validate_PSsurvdiff_inputs(
data,
ps_formula,
censor_formula,
weight_method,
censor_method,
trim_alpha,
trim_q,
time_points,
conf_level,
ps_control,
censor_control,
bootstrap_control
)A list containing:
Data frame with complete cases only
Character string of treatment variable name
Character string of time variable name (possibly an expression)
Character string of event variable name (possibly an expression)
The validated censoring formula, or NULL if no censoring adjustment was requested (i.e., original formula had RHS of 0)
Integer, number of complete cases used in analysis
A data.frame containing the analysis data.
Formula object for propensity score model.
Formula object for censoring model.
Character string specifying weighting method.
Character string specifying censoring method.
Numeric, symmetric trimming threshold.
Numeric, asymmetric trimming quantile.
Numeric vector or NULL.
Numeric, confidence level.
List of PS model control parameters.
List of censoring model control parameters.
List of bootstrap control parameters or NULL.