Removes data from either end of a run. The value passed to trim_start
will remove values
from the left until the time matches trim_start
. The value passed to trim_end
will remove values
from the right until the time matches trim_end
. For instance, if my time was the vector
c(1,2,3,4,5,6,7)
and I passed trim_start = 2
trim_end = 5
, the output would be
c(2,3,4,5)
. Passing only trim_start = 3
would output c(3,4,5,6,7)
1 2 |
raw_data |
A dataframe containing the data you wish to plot. |
time_index |
The index of the column containing all of the 'Time' data. |
trim_start |
Time value to trim to, starting from the left. Default is no trimming. |
trim_end |
Time value to trim to, starting from the right. Default is no trimming. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.