plot_kernel

0th

Percentile

Plot the shape of a kernel function implemented in FKSUM based on its vector of beta coefficients

Plots the kernel function for a given set of beta coefficients. NB: coefficients will be normalised so that the kernel describes a probability density.

Keywords
file
Usage
plot_kernel(beta, type = 'l', ...)
Arguments
beta

positive numeric vector of kernel coefficients.

type

(optional) plot type, as in base plot() function. The default is a line plot.

...

(optional) any additional arguments accepted by base plot() function.

References

Hofmeyr, D.P. (2019) "Fast exact evaluation of univariate kernel sums", IEEE Transactions on Pattern Analysis and Machine Intelligence, in press.

Aliases
  • plot_kernel
Examples
# NOT RUN {
### Plot order 4 smooth kernel

plot_kernel(1/factorial(0:4))

### Use a different line style

plot_kernel(1/factorial(0:4), lty = 2)

# }
Documentation reproduced from package FKSUM, version 0.1.0, License: GPL

Community examples

Looks like there are no examples yet.