[R-SIG-Finance] Empty indicator / plot.window: need finite 'ylim' values

Daniel Cegiełka d@n|e|@ceg|e|k@ @end|ng |rom gm@||@com
Mon Aug 17 19:32:54 CEST 2020



> On 17 Aug 2020, at 04:55, Rasmus Liland <jral using posteo.no> wrote:
> 
> Dear Mike,
> 
> if I change this line
> 
> 	plot (chart_Series (sample.xts[,1], subset=subset, TA=ta))
> 
> to 
> 
> 	plot(chart_Series(sample.xts[subset,1], TA=ta))
> 
> A plot appears.  No errors.  Was this 
> what you were looking for?
> 


Guys :)

chart_Series() is a plot env/func, so plot(chart_Series()) make no sense :)


Try:

chart_Series(sample.xts[subset,1], TA=ta)

?chart_Series

But your problem is here:

sample.xts[subset, 2]


Best,
Daniel




> /Rasmus
> _______________________________________________
> R-SIG-Finance using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list