find_smaller_index {skewsamp}R Documentation

Finds the index of the smaller neighbour of the given value in the vector x.

Description

Finds the index of the smaller neighbour of the given value in the vector x.

Usage

find_smaller_index(value, x)

Arguments

value

value whose neighbour is searched

x

numeric vector

Value

integer


[Package skewsamp version 1.0.0 Index]