Hi
i have a csv file by under column's and when use barchart()
get an error
> barChart(f, theme = "white.mono", bar.type = "hlc")
Error in try.xts(x, error = "chartSeries requires an xtsible object") :
chartSeries requires an xtsible object
i use as.xts(f)
but get another error Error in as.POSIXlt.character(x, tz, ...) : character string is not in a standard unambiguous format
str(f)
- attr(*, "spec")=
.. cols(
.. date = col_date(format = ""),
.. open = col_double(),
.. high = col_double(),
.. low = col_double(),
.. adjClose = col_double(),
.. value = col_double(),
.. volume = col_double(),
.. count = col_double(),
.. close = col_double(),
.. jdate = col_date(format = "")
.. )
> names(f)
[1] "date" "open"
[3] "high" "low"
[5] "adjClose" "value"
[7] "volume" "count"
[9] "close" "jdate"
[11] "name"