Bartlett {GCCfactor}R Documentation

Bartlett kernel function

Description

Evaluate the Bartlett kernel function: Bartlett(x)=1-|x| if |x|\leq 1 and Bartlett(x)=1-|x| otherwise.

Usage

Bartlett(x)

Arguments

x

A single numeric.

Value

A single numeric between 0 and 1.

Examples


Bartlett(0.5)


[Package GCCfactor version 1.0.1 Index]