Learn R Programming

fdars (version 0.3.3)

Kernel.integrate: Unified Integrated Kernel Interface

Description

Evaluates an integrated kernel function by name.

Usage

Kernel.integrate(u, Ker = "norm", a = -1)

Value

Cumulative integral values.

Arguments

u

Numeric vector of evaluation points.

Ker

Kernel type: "norm", "epa", "tri", "quar", "cos", or "unif".

a

Lower integration bound (default -1 for symmetric kernels). Not currently used (always integrates from -1 or -Inf).

Examples

Run this code
u <- seq(-1.5, 1.5, length.out = 100)
plot(u, Kernel.integrate(u, "epa"), type = "l")

Run the code above in your browser using DataLab