Description Usage Arguments Value Author(s) Examples
Plot the density of a method.
1  | densityPlot(x,n=500, method = "naive" , from, to)
 | 
x | 
 A nummeric variable  | 
n | 
 Number of plottet points  | 
method | 
 Can be either naive or kernel  | 
from | 
 Where the function want to start  | 
to | 
 Where the function want to end.  | 
Plots the density function
Steffan Leth Jensen 
Department of mathematics and computer science (IMADA) 
University of southern Denmark, SDU, Odense 
steje14@student.sdu.dk 
1  | densityPlot(cars$dist,1000,"naive", 0,10)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.