post_process: Post process density estimate to normalize and remove bumps

Description Usage Arguments Value

View source: R/auxiliaryFunctions.R

Description

Post process density estimate to normalize and remove bumps

Usage

1
post_process(binSize, estimates, delta = 0, threshold = 1e-06, alpha = 1)

Arguments

binSize

size of grid bins

estimates

vector of density estimate on a grid

delta

parameter for removing bumps; default is 0.0 implying no bump removal

threshold

parameter for discarding small densities; default is 1e-6

Value

A vector of the density estimate


rizbicki/FlexCoDE documentation built on Feb. 10, 2022, 3:14 p.m.