View source: R/designs_and_models.R
validate_inputs | R Documentation |
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
)
d_m |
a single RCT d_m (see list/naming convention) |
params.list |
a list of parameters input by a user |
power.call |
flag for power estimation |
mdes.call |
flag for MDES estimation |
ss.call |
flag for sample size estimation |
verbose |
whether to print out warnings |
multi.MTP.ok |
whether validation allows for multiple MTPs |
params.list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.