densify: Calculate the nonparametric density of a numeric vector.

Description Usage Arguments Value

Description

Calculate the nonparametric density of a numeric vector.

Usage

1
2
densify(x, type = c("ash", "kde"), trans = c("sqrt", "log", "none",
  "reflect"), ...)

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.