Learn R Programming

mgwrsar (version 0.1-1)

bisq_C: bisquare kernel, RcppEigen version

Description

bisquare kernel, RcppEigen version

Usage

bisq_C(d, h, Minv)

Arguments

d

a vector of distance

h

a distance bandwidth

Minv

Minimal number of non null weight (neigbor)

Value

a vector of weight

Examples

Run this code
# NOT RUN {
w=bisq_C(1:100,20,0)
plot(1:100,w,type='l')
# }

Run the code above in your browser using DataLab