SCM

Forum: open-discussion

Monitor Forum | Start New Thread Start New Thread
RE: Poincare Plots [ Reply ]
By: Kerry Kubly on 2015-07-07 22:29
[forum:42355]
It worked! Thank you so much for your help

RE: Poincare Plots [ Reply ]
By: Constantino Antonio on 2015-07-07 07:32
[forum:42346]
Dear K. Kubly and K. Ogata,

The Poincaré plot has been modified in the beta version of the package to correct some issues... now the Poincaré plot should work with RR intervals. To install the beta version of the package just type:

install.packages("RHRV", repos="http://R-Forge.R-project.org")

However, the bypass by K. Ogata is perfect and should work!

Thanks for your interest!
Kind regards

RE: Poincare Plots [ Reply ]
By: Katsuya Ogata on 2015-07-07 01:25
[forum:42345]
Hi Kerry,

The modification after line 6 would work.

Actually, "hrv.data$Beat$niHR <- hrv.data$Beat$RR" would be enough to replace HR into RR intervals. The other lines are to recover the original data structure.

I hope it will help.

Katsuya Ogata

###########################################################
hrv.data = CreateHRVData()
hrv.data = SetVerbose(hrv.data, TRUE)
hrv.data = LoadBeatRR(hrv.data, file.choose())
hrv.data = BuildNIHR(hrv.data)
hrv.data = CreateNonLinearAnalysis(hrv.data)

hrv.data$Beat$HR <- hrv.data$Beat$niHR
hrv.data$Beat$niHR <- hrv.data$Beat$RR
hrv.data = PoincarePlot(hrv.data, indexNonLinearAnalysis = 1, timeLag=1, doPlot=TRUE)
hrv.data$Beat$niHR <- hrv.data$Beat$HR

RE: Poincare Plots [ Reply ]
By: Kerry Kubly on 2015-07-06 17:51
[forum:42344]
Hi Katsuya,

Thanks for the response. I'm pretty new with R and this is the first package I've ever really used. I'm wondering if you could provide more information on how you ran that code. I have imported my data as RR intervals and am running the following code:

hrv.data = CreateHRVData()
hrv.data = SetVerbose(hrv.data, TRUE)
hrv.data = LoadBeatRR(hrv.data, file.choose())
hrv.data = BuildNIHR(hrv.data)
hrv.data = CreateNonLinearAnalysis(hrv.data)
hrv.data = PoincarePlot(hrv.data, indexNonLinearAnalysis = 1, timeLag=1, doPlot=TRUE)

How would you incorporate your bypass into the code?

RE: Poincare Plots [ Reply ]
By: Katsuya Ogata on 2015-07-04 10:13
[forum:42343]
Hi, Kerry,

I'm also new to RHRV and noticed the same problem.

I personally bypassed the problem by replacing hrv.data$Beat$niHR with hrv.data$Beat$RR

RR intervals but not heart rate would be common for Poincare plot as in tutorial 2.2.3.9.

Katsuya Ogata

Poincare Plots [ Reply ]
By: Kerry Kubly on 2015-06-25 01:16
[forum:42331]
Hi, I'm relatively new to the HRV package and I'm having some difficulties with my Poincare plots.

I've noticed that when the plot is generated that instead of the RR intervals being plotted on the x and y axis, I'm getting heart rate plotted instead. I'm wondering if there is any way to plot the RR intervals in ms on the Poincare plot (as I've found is common practice in the literature)?

Thanks in advance!


Thanks to:
Vienna University of Economics and Business Powered By FusionForge