Density.plot: Density estimation plot

Description Usage Arguments Value Author(s) Examples

Description

This function estimates the density of the given data.

Usage

1
Density.plot(x,n = 500,method,from,to)

Arguments

x

numeric variable

n

point you are evaluating to obtain its density

method

method for estimating the density. Is either "naive" or "kernel". Set default as "naive".

from

r

to

r

Value

Density plot

Author(s)

Nina Louise Pedersen
Institute of Mathematics and Computer Science (IMADA)
University of Sourthern Denmark, (SDU)
npede14@student.sdu.dk

Examples

1
Density.plot(cars$speed,n = 500,method = "kernel")

ninalpedersen/Temp2 documentation built on May 23, 2019, 7:05 p.m.