check_samplingrate {VWPre} | R Documentation |
check_samplingrate
determines the sampling rate in the data.
This function is helpful for determining the obligatory parameter input to
bin_prop
. If different sampling rates were used, the
function adds a sampling rate column, which can be used to subset the
data for further processing.
check_samplingrate(data, ReturnData = FALSE)
data |
A data table object output by |
ReturnData |
A logical indicating whether to return a data table containing a new column called SamplingRate |
A printed summary and/or a data table object
## Not run:
library(VWPre)
# Determine the sampling rate...
check_samplingrate(dat)
## End(Not run)