powered by
Optionally weighted Von Mises kernel probability densities.
dvmkern(x, dat, wt = NULL, bw = NULL, adj = 1)
Numeric vector of probability densities evaluated at x.
x
Numeric vector of radian times at which to evaluate the PDF.
Numeric vector of radian time data to which the PDF is fitted.
A numeric vector of weights for each dat value.
dat
Numeric value for kernel bandwidth.
Numeric kernel bandwidth multiplier.
If bw not provided it is calculated internally using bw.calc. The adj argument is used to adjust bw to facilitate exploration of fit flexibility.
bw
bw.calc
adj
bwcalc
#Example with made up input tt <- runif(100,0,2*pi) xx <- seq(0,2*pi, pi/256) pdf <- dvmkern(xx, tt) plot(xx, pdf, type="l")
Run the code above in your browser using DataLab