#' Return the Lévy density of a Bernstein function
#'
#' Returns the *Lévy density* with `lower`, `upper`, and `type` attributes if
#' continuous and returns a `data.frame` with named columns `x` (atoms) and `y`
#' (weights) as well as a type attribute if discrete. The `type` attribute is
#' either `"continuous"` or `"discrete"`.
#'
#' @param object An object deriving from [LevyBernsteinFunction-class].
#'
#' @importFrom methods setGeneric
#' @family Bernstein function generics
#' @export
setGeneric(
"getLevyDensity",
function(object) {
standardGeneric("getLevyDensity")
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.