Description Usage Arguments Details Value Author(s) Examples
This is a function used to compare actual data to the moving average on a plot.
1 2 | plot_stressed(dataset_heartRate, dataset_time = NULL, order_of_smoother = 3,
na.remove = TRUE, col_ma = "Red", col_dataset = "black", ...)
|
dataset_heartRate |
This should be a vector of the resting heart rate. |
dataset_time |
This should be a vector of the the time periods. |
order_of_smoother |
This will be the number of time periods to average for the moving average. |
na.remove |
Currently, this part of the function doesn't work. The function will always remove any na's in the dataset_time or dataset_heartRate. |
col_ma |
This is for the color of the moving average. |
col_dataset |
This defines the color for the actual data. |
... |
This provides the ability to change some of the properties of the plot. |
This function currently plots the the moving average and the actual data. I think I should add some better labels.
It will return a plot.
Corey Kimzey
1 2 | data(tester)
plot_stressed(tester$"Resting Heart Rate")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.