Runs DA, AD, SWADA, and/or CAMS on one prepared dataset
(typically after ifrac()). Use compare() on the result for side-by-side
tables.
Usage
sensitivity(
data_or_fit,
reference = NULL,
constructions = c("da", "ad", "swada", "cams"),
trial = "study",
subgroup = "level",
...
)Arguments
- data_or_fit
A data frame with
yi,vi, trial and subgroup columns, or an existinginteractmetafromcams()(data and reference are read from the fit).- reference
Reference subgroup level. Required for a data frame; inferred from
data_or_fitwhen it is a CAMS fit.- constructions
Character vector of constructions to fit (
"da","ad","swada","cams"). Aliased asmethodsin some docs; do not confuse withmethod = "REML"passed via...to fitters.- trial
Trial id column (default
"study").- subgroup
Modifier level column (default
"level").- ...
Passed to each construction fitter (
da(),ad(),swada(),cams()).
