estres | R Documentation |
Estimate the resolution (approximate sampling rate) of a signal based on its domain values.
estres(x, tol = NA, ref = NA_character_)
x |
A numeric vector giving the domain values of the signal. |
tol |
The tolerance allowed when determining if the estimated resolution is valid (i.e., actually matches the given domain values). Noise in the sampling rate will be allowed up to this amount. If |
ref |
If 'abs', then comparison is done by taking the absolute difference. If 'x', then relative differences are used. If missing, then the funciton will try to determine which gives a better fit to the domain values. |
A single number named "absolute" or "relative" giving the approximate constant sampling rate matching the given domain values. NA
if a sampling rate could not be determined.
Kylie A. Bemis
x <- seq_rel(501, 600, by=1e-3)
estres(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.