safely_densify: Calculate the nonparametric density (safely) of a numeric...

Description Usage Arguments Value

Description

Calculate the nonparametric density (safely) of a numeric vector.

Usage

1

Arguments

x

numeric vector

type

the type of density estimator (kde or ash)

trans

transfrom to be applied to x before estimation (sqrt, log, none, reflect)

Value

a density as a tibble of x, y pairs


dennismalandro/inventory documentation built on May 23, 2019, 3:04 p.m.