Skip to contents

Extracts the estimated bias bound parameters and bandwidth

Usage

# S3 method for class 'bbnp_density'
coef(object, ...)

Arguments

object

An object of class bbnp_density

...

Additional arguments (unused)

Value

Named numeric vector with A (amplitude), r (decay rate), and h (bandwidth)

Examples

# \donttest{
set.seed(1)
x <- runif(500) + runif(500)
fit <- bias_bound_density(x, bw = 0.1)
coef(fit)
#>        A        r        h 
#> 3.749928 2.000000 0.100000 
# }