psi_tukey: Computes psi(t) of the Tukey loss function

Description Usage Arguments Value Examples

View source: R/psi.R

Description

Computes psi(t) of the Tukey loss function

Usage

1
psi_tukey(t, cT)

Arguments

t

vector[N] squared Mahalanobis distances

cT

scalar, tuning parameter

Value

psi psi of the Tukey loss

Examples

1
2
a <- c(-0.4121757 ,-2.2634588 , 0.2893038,  0.1831577,  0.4861016)
psi_tukey(a, .3)

Mufabo/ICASSP20.T6.R documentation built on May 30, 2021, 11:20 a.m.