create.density.df.Rd
Returns a data frame from stats::density
function
create.density.df(
samps = NULL,
zero.bounded = FALSE,
distribution = NULL,
n = 1000,
...
)
a vector of samples from a distribution
logical: Restrict density distribution to nonnegative values?
list with elements distn, parama, paramb,
e.g. list('norm', 0, 1)
number of points at which to estimate density
additional arguments, passed on to stats::density
data frame with x and y = dens(x)