Learn R Programming

mgwrsar (version 0.1-1)

bisq: bisquare kernel

Description

bisquare kernel

Usage

bisq(d, h)

Arguments

d

a vector of distance

h

a distance bandwidth

Value

a vector of weight

Examples

Run this code
# NOT RUN {
w=bisq(-30:30, 20)
plot(-30:30,w,type='l')
abline(v=-20)
abline(v=20)
# }

Run the code above in your browser using DataLab