R/longData.R
transpose_imputations.Rd
Takes an imputation_df object and transposes it e.g.
imputation_df
list( list(id = "a", values = c(1,2,3)), list(id = "b", values = c(4,5,6) ) )
transpose_imputations(imputations)
An imputation_df object created by imputation_df()
imputation_df()
becomes
list( ids = c("a", "b"), values = c(1,2,3,4,5,6) )