prune_fence_slopes: Compute the Slopes Used for Fencing

View source: R/prune_02-B_fence.R

prune_fence_slopesR Documentation

Compute the Slopes Used for Fencing

Description

Compute the slopes used for fencing.

Usage

prune_fence_slopes(x, y, tol = .Machine$double.eps^0.5)

Arguments

x

Numeric vector. Must have finite values.

y

Numeric vector. Must have finite values.

tol

Number, tolerance when testing the ratios.

Details

The function compute the slopes and also applies several tests to the result. Problem with the data will always usually affect the ratio.

Value

List with small_slope and big_slope.


FrankLef/eflMuncher documentation built on July 9, 2022, 11:43 a.m.