Uses an optimisation procedure to calculate the circular kernel bandwidth giving the best fit to the data.

1 | ```
bwcalc(dat, K = 3)
``` |

`dat` |
Numeric data vector of radian times. |

`K` |
Integer number of values of kappa over which to maximise (see references for details). |

Mainly for internal use.

Single numeric bandwidth value.

Ridout, M.S. & Linkie, M. (2009) Estimating overlap of daily activity patterns from camera trap data. Journal of Agricultural Biological and Environmental Statistics, 14, 322-337.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.