densityPlot: Plot the density

Description Usage Arguments Value Author(s) Examples

View source: R/densityPlot.R

Description

Plot the density of a method.

Usage

1
densityPlot(x,n=500, method = "naive" , from, to)

Arguments

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.

Value

Plots the density function

Author(s)

Steffan Leth Jensen
Department of mathematics and computer science (IMADA)
University of southern Denmark, SDU, Odense
steje14@student.sdu.dk

Examples

1
densityPlot(cars$dist,1000,"naive", 0,10)

mrleth94/ST522ExamSteje14 documentation built on May 23, 2019, 7:37 a.m.