ake a suggestion, if you really want a tibble that allows you
> to know what each row is for, consider one of many methods for saving the
> previous row names as a new column. I used that to take the data.frame
> version I made above and got:
>
> > temp <- as_tibble(result.
uses as_tibble with an underscore, but many other ways to make a
column exist.
-Original Message-
From: R-help On Behalf Of arnaud gaboury
Sent: Tuesday, October 17, 2023 4:30 AM
To: r-help
Subject: [R] transform a list of arrays to tibble
I work with a list of crypto assets daily c
I work with a list of crypto assets daily closing prices in a xts
class. Here is a limited example:
asset.xts.lst <- list(BTCUSDT = structure(c(26759.63, 26862, 26852.48, 27154.15,
27973.45), dim = c(5L, 1L), index = structure(c(1697068800, 1697155200,
1697241600, 1697328000, 1697414400), tzone =
3 matches
Mail list logo