当使用包' quantmod'在R中,如何压制最后的价格'价格图表上的文字行?

时间:2016-08-06 20:58:57

标签: r quantmod

我正在使用R包chartSeries()中的函数quantmod绘制价格图表。这是一个例子:

#Load package 'quantmod'
library(quantmod)

#Download quotes for VNQ
hist.xts <- getSymbols('VNQ',
                       from = '2006-1-1',
                       to = '2006-1-31',
                       auto.assign = F)

#Plot price chart
chartSeries(hist.xts, type = 'bars')

这是价格图表:

price chart

如何压制文字&#34;最后64.050003&#34;这样它就不会出现在图表上了吗?

1 个答案:

答案 0 :(得分:1)

您必须在文档和此示例中插入参数url = 'https://fcm.googleapis.com/fcm/send' body = { "data":{ "title":"mytitle", "body":"mybody", "url":"myurl" }, "notification":{ "title":"My web app name", "body":"message", "content_available": "true" }, "to":"device_id_here" } headers = {"Content-Type":"application/json", "Authorization": "key=api_key_here"} requests.post(url, data=json.dumps(body), headers=headers) https://github.com/seanrasmussen/react-tutorial-in-create-react-app

TA = NULL

http://www.quantmod.com/examples/charting/#chartseries