I have one tibble 'journal_tb' with this structure: gabx@magnolia [R] str(journal_tb) tibble [72 × 4] (S3: tbl_df/tbl/data.frame) $ timestamp : POSIXct[1:72], format: "2024-12-16 18:00:00" "2024-12-16 18:00:00" "2024-12-16 18:00:00" "2024-12-16 18:00:00" ... $ instrument: chr [1:72] "FTMUSDT" "SUIUSDT" "ETHUSDT" "ENAUSDT" ... $ amount : num [1:72] 284270 80024 91.9 207836 9.34 ... $ price : num [1:72] 1.38 4.73 4038 1.19 107012 ...
When transforming to a PMwR journal: gabx@magnolia [R] my_journal <- as.journal(my_journal_tb) I have this error: Error in names[[i]] : subscript out of bounds I have double checked my columns but everything looks fine. How can I solve this out of bounds error? Thnak you for help
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go.
