Learn R Programming

IRon (version 0.1.4)

phi.extremes: Relevance function for extreme target values

Description

Automatic approach to obtain a relevance function for a given target variable when the option of extremes is chosen, i.e. users are more interested in accurately predicting extreme target values

Usage

phi.extremes(
  y,
  extr.type = c("both", "high", "low"),
  coef = 1.5,
  asym = TRUE,
  ...
)

Value

A list with three slots with information concerning the relevance function

method

The method used to generate the relevance function (extremes or range)

npts

?

control.pts

Three sets of values identifying the target value-relevance-derivate for the first low extreme value, the median, and first high extreme value

Arguments

y

The target variable of a given data set

extr.type

Type of extremes to be considered: low, high or both (default)

coef

Boxplot coefficient (default 1.5)

asym

Boolean for assymetric interpolation. Default TRUE, uses adjusted boxplot. When FALSE, uses standard boxplot.

...

Additional parameters