Hello,
When I try to access XData in R Charts, for example looking at HRV data (RR intervals) I do the following:
act <- GC.activity(compare=FALSE)
rr <- act$"HRV_R-R"
When I then look at the rr vector, it only contains one value per second.
In the Edit Pane of the activities view, I see that often there are more values per second (as is expected with heart rate above 60 beats per minute).
It seems to me, that in the data frame returned by GC.activity() always the first RR-Value that occured in the particular second is chosen.
When the XData contains more than one data point per second, this is not accessible in this way with R.
Maybe XData for an activity have to be returned in a different format, as data frames in R assume same length for each variable.
I could not find more information in the User Guide "working with R", but maybe there is additional documentation regarding my question?
Best,
Stefan