Skip to content
Prev 376872 / 398502 Next

[R studio] Plotting line chart for the obtained entropy values

Hello friends,

I have obtained the approximate entropy values for the multiple series.
But, after that, I am unable to draw a line chart for the obtained
approximate entropy values. Please help me to draw a line chart for the
obtained entropy values. For your reference, I am writing my code here so
that it will be easier to suggest the code for the plotting of line chart.

     N<-nrow(ts)
r<-matrix(0, nrow = N, ncol = 1)
for (i in 1:N){
     r[i]<-approx_entropy(ts[,i], edim = 2, r = 0.2*sd(ts[,i]), elag = 1)
}


Hence, I need to plot the obtained entropy values that stored in r folder.

A great help will be highly appreciated.

Thanks in advance.