Bartlett: Bartlett kernel function

View source: R/utility_functions.R

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


GCCfactor documentation built on Nov. 2, 2023, 5:59 p.m.