This function creates the object that is returned from impute(). Essentially
it is a glorified wrapper around list() ensuring that the required elements have been
set and that the class is added as expected.
Arguments
- imputations
A list of
imputations_list's as created byimputation_df()- data
A
longdataobject as created bylongDataConstructor()- method
A
methodobject as created bymethod_condmean(),method_bayes()ormethod_approxbayes()- references
A named vector. Identifies the references to be used when generating the imputed values. Should be of the form
c("Group" = "Reference", "Group" = "Reference").
