check_cperc: Check and re-calculate C.perc if necessary

Description Usage Arguments Value

View source: R/resampling_utils.R

Description

Check and re-calculate C.perc if necessary

Usage

1
check_cperc(C.perc, inds, type)

Arguments

C.perc

Value or vector of values with re-sampling percentages.

inds

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).

type

"under", "over" or "gauss"

Value

A vector of re-sampling percentages for each bump that will be subject to re-sampling


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