analysis objectCreates an analysis object ensuring that all components are correctly defined.
as_analysis(
results,
method,
delta = NULL,
fun = NULL,
fun_name = NULL,
par_meta = NULL
)A list of lists contain the analysis results for each imputation
See analyse() for details on what this object should look like.
The method object as specified in draws().
The delta dataset used. See analyse() for details on how this
should be specified.
The analysis function that was used.
The character name of the analysis function (used for printing) purposes.
Optional data.frame of per-parameter metadata (e.g. the group
levels and visit associated with each analysis parameter) as attached by the
analysis function. May be NULL.