kfunc: Function to evaluate the matrix of data vector minus the grid...

Description Usage Arguments Value

View source: R/zzzz.R

Description

Function to evaluate the matrix of data vector minus the grid points divided by the bandwidth value.

Usage

1
kfunc(ktype = "normal", difmat)

Arguments

ktype

A character string giving the type kernel to be used: "normal", "epanechnikov", "biweight", or "triweight". By default, the "normal" kernel is used.

difmat

A numeric matrix of sample data (X) minus evaluation points (x0) divided by bandwidth value (bw).

Value

Returns the matrix resulting from evaluating difmat.


elghouch/cenROC documentation built on April 2, 2020, 5:03 a.m.