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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Subhamitra Patra
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.

--
*Best Regards,*
*Subhamitra Patra*
*Phd. Research Scholar*
*Department of Humanities and Social Sciences*
*Indian Institute of Technology, Kharagpur*
*INDIA*

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

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

PIKAL Petr
Hi

see in line

> -----Original Message-----
> From: R-help <[hidden email]> On Behalf Of Subhamitra Patra
> Sent: Wednesday, October 10, 2018 1:07 PM
> To: [hidden email]
> Subject: [R] [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)
> }

I may be completely wrong but does not

plot(r, type="l")

produce line graph?

Cheers
Petr

>
>
> Hence, I need to plot the obtained entropy values that stored in r folder.
>
> A great help will be highly appreciated.
>
> Thanks in advance.
>
> --
> *Best Regards,*
> *Subhamitra Patra*
> *Phd. Research Scholar*
> *Department of Humanities and Social Sciences*
> *Indian Institute of Technology, Kharagpur*
> *INDIA*
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Osobní údaje: Informace o zpracování a ochraně osobních údajů obchodních partnerů PRECHEZA a.s. jsou zveřejněny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner’s personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/
Důvěrnost: Tento e-mail a jakékoliv k němu připojené dokumenty jsou důvěrné a podléhají tomuto právně závaznému prohláąení o vyloučení odpovědnosti: https://www.precheza.cz/01-dovetek/ | This email and any documents attached to it may be confidential and are subject to the legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.