Description Usage Arguments Value Examples
Removes the first elements of a numerical vector till they do show an increase higher than threshold.
1 | const_trim(v, threshold)
|
v |
a numerical vector |
threshold |
the threshold used for cutting the vector |
the first index of the vector which entry grows more than threshold
, starting from 1 to length(v)
1 2 3 4 | ## Not run:
const_trim(c(0,0,0,1,1.3,1.7,2,3,4.5,6,9,12),1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.