The function plot_vts plots voltage vs time.
Usage
plot_vts(data, aggregate = TRUE, interval = 100)
Arguments
- data
Dataframe containing columns for time and volts
- aggregate
TRUE/FALSE indicated whether to aggregate the data and
reduce the number of points by plotting only the mean over a set interval.
- interval
Integer indicating the number of points to aggregate
together if aggregate = TRUE.
Value
A voltage time series plot.
Details
If a large amount of data is fed in, it is recommended to aggregate
because plotting an excess of points is time intensive.