Returns a data frame from stats::density function
Arguments
- samps
a vector of samples from a distribution
- zero.bounded
logical: Restrict density distribution to nonnegative values?
- distribution
list with elements distn, parama, paramb, e.g.
list('norm', 0, 1)- n
number of points at which to estimate density
- ...
additional arguments, passed on to
stats::density
