# Remove consecutive exceedances from a vector

### Description

Remove runs, i.e., consecutive exceedances, from a vector of values and associated indices (days); for use in declustering

### Usage

1 | ```
remove_runs(y, index, upperTail = TRUE)
``` |

### Arguments

`y` |
vector of values |

`index` |
vector of indices, one per value, that indicate which elements of |

`upperTail` |
logical value that indicates whether values of |