get_inds: Calculate indices of relevance bumps

Description Usage Arguments Value

View source: R/resampling_utils.R

Description

Calculate indices of relevance bumps

Usage

1
get_inds(s.y, y.relev, pc, thr.rel)

Arguments

s.y

Vector of sorted target values

y.relev

Vector containing relevance of sorted target values

pc

Relevance phi.control

thr.rel

A number indicating the relevance threshold below which a case is considered as belonging to the normal "class".

Value

A list with entries obs.ind (a list with named vector cointaining target values for each bump), und, and ove (containing the indices of obs.ind that correspond to bumps of extreme and normal values, respectively)


mrfoliveira/STResampling-JDSA2020 documentation built on June 28, 2021, 7:01 p.m.