as_analysis: Construct an 'analysis' object

View source: R/analyse.R

as_analysisR Documentation

Construct an analysis object

Description

Creates an analysis object ensuring that all components are correctly defined.

Usage

as_analysis(results, method, delta = NULL, fun = NULL, fun_name = NULL)

Arguments

results

A list of lists contain the analysis results for each imputation See analyse() for details on what this object should look like.

method

The method object as specified in draws().

delta

The delta dataset used. See analyse() for details on how this should be specified.

fun

The analysis function that was used.

fun_name

The character name of the analysis function (used for printing) purposes.


rbmi documentation built on Nov. 24, 2023, 5:11 p.m.