Hello,
I have an xts file with 6000 columns and 50000 rows containing hourly values of precipitation. I try to calculate the sum of the daily precipitation on each column however the colSums function doesnt work for xts objects. Even when I tranform my xts file into numeric, I still get an error
p_79_84 is my xts file`
days1 are my daily endpoints
Could you please turn this into a minimal REPRoducible EXample (reprex) including sample data on a copy/paste friendly format? A reprex makes it much easier for others to understand your issue and figure out how to help.