Description Usage Arguments Value Author(s) Examples
View source: R/findShortestInterval.R
This function takes a numeric vector, sorts it, and then finds the shortest interval and returns its length.
1 |
x |
The numeric vector. |
The length of the shortest interval.
Gjalt-Jorn Peters
Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>
1 | findShortestInterval(c(1, 2, 4, 7, 20, 10, 15));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.