作者psinqoo (零度空间)
看板R_Language
标题[问题] quantmod
时间Tue Apr 22 10:23:25 2014
问题 图跑不出
[问题类型]:
程式谘询
[软体熟悉度]:
入门
[问题叙述]:
是不是资料格式错误? 还是其他方面有问题?
barChart 画不出来 其他的也无法画出
底下是资料格式
读入 .csv
资料格式 如下
Date Open High Low Close Volume
2013/1/2 13257 13289 13162 13194 168353
2013/1/3 13195 13198 13055 13055 242457
2013/1/4 13050 13100 13005 13079 256215
2013/1/7 13085 13128 13025 13126 228488
[程式范例]:
euo=read.csv(file.choose())
head(euo)
library(quantmod)
barChart(euo)
出现
Error in try.xts(x, error = "chartSeries requires an xtsible object") :
chartSeries requires an xtsible object
quantmod
xts
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 111.252.153.132
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/R_Language/M.1398133408.A.355.html