check_samplingrate {VWPre} | R Documentation |
Determine the sampling rate present in the data
Description
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.
Usage
check_samplingrate(data, ReturnData = FALSE)
Arguments
data |
A data table object output by |
ReturnData |
A logical indicating whether to return a data table containing a new column called SamplingRate |
Value
A printed summary and/or a data table object
Examples
## Not run:
library(VWPre)
# Determine the sampling rate...
check_samplingrate(dat)
## End(Not run)
[Package VWPre version 1.2.4 Index]