Description Usage Arguments Details Value Examples
Get step size for data.
1 | get.f.step.size(d, f)
|
d |
The data to have the step size determined |
f |
The function to aggregate the step size |
Gets the step size for data, aggregated by the supplied function. This is useful when you want to know the mean timestep size, median, minimum, range, etc for the purposes of classifying data by time resolution.
The step size
1 2 3 4 5 | dat <- c(1, 2, 3, 4, 5, 7)
## Will be 2
max.step.size <- get.f.step.size(dat, max)
## Will be 1
min.step.size <- get.f.step.size(dat, min)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.