Closed cosmin-novac closed 3 years ago
Because that's not supported in R's data.frame
. You'd have to use tibble
or data.table
to have such a thing.
I'd happily have data.table or tibble instead
Am Fr., 11. Dez. 2020 um 20:11 Uhr schrieb david-cortes < notifications@github.com>:
Because that's not supported in R's data.frame. You'd have to use tibble or data.table to have such a thing.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/david-cortes/outliertree/issues/2#issuecomment-743372697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASPW3BDTBMZ5J6XVOAJRZ3SUJVFFANCNFSM4UXDCKQQ .
To transform it:
t(data.table::as.data.table(outliers))
Why is the output a list of lists with nested lists? Why not just a multi-col dataframe, with 1 row per observation? Is there a simple way to transform it that way?