Description Usage Arguments Value Author(s) Examples
View source: R/densityEstimate.R
Calculate the density at the point d.
1 | densityEstimate(x,d,h,method = "naive")
|
x |
A numeric variable |
d |
The point we want to evaluate the density at |
h |
The bandwith |
method |
Can be either naive or kernel |
Return the evalutated density at the point d
Steffan Leth Jensen
Department of mathematics and computer science (IMADA)
University of southern Denmark, SDU, Odense
steje14@student.sdu.dk
1 | densityEstimate(cars$dist,method = "naive")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.