densityEstimate: Estimated density

Description Usage Arguments Value Author(s) Examples

View source: R/densityEstimate.R

Description

Calculate the density at the point d.

Usage

1
densityEstimate(x,d,h,method = "naive")

Arguments

x

A numeric variable

d

The point we want to evaluate the density at

h

The bandwith

method

Can be either naive or kernel

Value

Return the evalutated density at the point d

Author(s)

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

Examples

1
densityEstimate(cars$dist,method = "naive")

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