,
R/time_sample.R
as_sample_int.Rd
Convert a time point into a sample.
as_sample_int(x, ...) # S3 method for class 'numeric' as_sample_int(x, .sampling_rate = NULL, .unit = "s", ...)
A vector of numeric values.
Not in use.
Sampling rate in Hz
"seconds" (or "s"), "milliseconds" (or "ms"), or "samples"
A sample_int object.