Skip to contents

Takes an imputation_df object and transposes it e.g.

list(
    list(id = "a", values = c(1,2,3)),
    list(id = "b", values = c(4,5,6)
    )
)

Usage

transpose_imputations(imputations)

Arguments

imputations

An imputation_df object created by imputation_df()

Details

becomes

list(
    ids = c("a", "b"),
    values = c(1,2,3,4,5,6)
)