as_sample_int | R Documentation |
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", ...)
x |
A vector of numeric values. |
... |
Not in use. |
.sampling_rate |
Sampling rate in Hz |
.unit |
"seconds" (or "s"), "milliseconds" (or "ms"), or "samples" |
A sample_int object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.