Subhamitra Patra
2018-Oct-10 11:07 UTC
[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) } 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]]
PIKAL Petr
2018-Oct-10 14:12 UTC
[R] [R studio] Plotting line chart for the obtained entropy values
Hi see in line> -----Original Message----- > From: R-help <r-help-bounces at r-project.org> On Behalf Of Subhamitra Patra > Sent: Wednesday, October 10, 2018 1:07 PM > To: r-help at r-project.org > 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]] > > ______________________________________________ > R-help at r-project.org 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/