This functions takes in a list of user inputs. Depending on the inputs, it produces errors or warnings, and at times modifies inputs if necessary.
validate_inputs(
d_m,
params.list,
power.call = FALSE,
mdes.call = FALSE,
ss.call = FALSE,
verbose = TRUE,
multi.MTP.ok = FALSE
)
params.list
a single RCT d_m (see list/naming convention)
a list of parameters input by a user
flag for power estimation
flag for MDES estimation
flag for sample size estimation
whether to print out warnings
whether validation allows for multiple MTPs