Description Usage Arguments Value Note Examples
Plots RR-intervals saved in the HRT objects, especially the avHRT object, and marks the HRT parameters.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
HRTList |
cropped |
(Boolean) Should the plot be cut to focus on the HRT parameters? To show all points use FALSE. |
TT |
(Boolean) Should Turbulence timing be marked? |
pch |
(Numeric) Plotting character, for other options see graphics::var |
xlab |
(Character) Label for the x axis |
ylab |
(Character) Label for the y axis |
paramsLegend |
(Boolean) Should the parameter values of the HRT be plotted? |
colTO |
(Character) Colour used to highlight TO |
colTS |
(Character) Colour used to highlight TS |
colTT |
(Character) Colour used to highlight TT |
... |
Other arguments in tag = value form |
No return value
Please note that some graphics parameters (par) cannot be modified, since they are needed to be set inside the function.
1 2 3 4 5 6 7 8 9 10 11 12 | # You need an HRTList
hrtl <- vectorToHRT(testdataLong, testdataLong_Ann)
# Plot your HRTList and zoom out
plot(hrtl, cropped = FALSE)
# Include TT and customise it
plot(hrtl, TT = TRUE, colTT = "green", pch = 7)
# Use standard graphics parameters
## Note: Some parameters are used inside the function and cannot be set
plot(hrtl, TT = TRUE, main = "Example plot", bty = "n", cex.lab = 1.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.