xts allows columns to have any type, as long as the columns are all the same type (as its really a matrix under the hood)
for example, you can have character columns:
xts(x = cbind(letters, LETTERS), order.by = Sys.Date() + (1:26))
logicals:
xts(x = c(T,F), order.by = Sys.Date() + (1:2))
as.xts.data.table currently only allows conversion for numeric columns. it should follow the same rules as xts and support any type
xtsallows columns to have any type, as long as the columns are all the same type (as its really a matrix under the hood)for example, you can have character columns:
xts(x = cbind(letters, LETTERS), order.by = Sys.Date() + (1:26))logicals:
xts(x = c(T,F), order.by = Sys.Date() + (1:2))as.xts.data.tablecurrently only allows conversion for numeric columns. it should follow the same rules asxtsand support any type