R in quantmod error -


x = read.csv (file.choose ())

सिर (x) <पूर्व> दिनांक खुली उच्च कम बंद खंड 1 2013/1/2 13257 13289 13162 13194 168353 2 2013/1/3 13195 13198 13055 13055 242457 3 2013/1/4 13050 13100 13005 13079 256215 4 2013/1 / 7 13085 13128 13025 13126 228488 5 2013/1/8 13136 13148 13064 13088 227064 6 2013/1/9 13091 13104 13044 13072 21 9 862 पुस्तकालय (quantmod)

आप इसे एक पंक्ति में कर सकते हैं।

  जासूस & lt; -as.xts (read.zoo ("~ /") आपके डेटा लोड हो रहा है, यह मानते हुए "आपके डेटा" निर्देशिका में "spy.csv" नामक है, SP500 OHLC डेटा। डेटा / spy.csv ", हैडर = TRUE, sep =", ", colClasses = c (" दिनांक ", प्रतिनिधि (" संख्यात्मक ", 4))) बारचार्ट (SPY)   

आप सभी को इसकी महिमा में चार्ट दिखाएंगे: -)

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -